Page 1 of 2

Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 3:05 pm
by Rhion
New here and I must say I LÖVE löve :nyu: So much in fact that i decided to code a clone of my favourite puzzle game.
ELEMENTS is based on Tetris Attack. A puzzle game from the SNES era that have been revived by Nintendo several times. The goal of the game is to switch around blocks so they form 3 or more blocks in a row either horizontally or vertically. The more blocks that disappear together the more points each of them are worth. New blocks will continue to be added from the bottom and the game is over if any blocks touch the celling for 5 seconds.

Observe that this is BETA. Many features are on the to do list:
  • "Game Over > Menu" transition.
    Rare blocks
    Manual Speed increase
    Different difficulties
    Caster Mode
    Options menu
    More backgrounds
    High score listing
Use Z to select options in the menu and switch blocks around.
Use X to make the blocks rise faster.
Game can be reset by pressing Escape. This will be removed in the final version!

Please provide constructive criticism as I would like to improve ;)

All credits to MaestroRage for the background song: http://www.newgrounds.com/audio/listen/228382

Changelog:

0.7.5:

Fixed speedbug. Will hopefully work good on all comps now.
Added a "turbo" button. X will now increase the speed at which the blocks rise while you hold it down.



Newest Version: BETA 0.7.5 - http://www.mediafire.com/download.php?wjlty1nzj1y
Older versions:
0.7.0 - http://www.mediafire.com/download.php?udgmyzt4kzy

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 4:57 pm
by Robin
Please upload it to a different server. I had to enter a CAPTCHA, wait 45 seconds, and then had some issues downloading it. (Of course, you don't have to, but if you want people to take a look at it...)

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 5:12 pm
by Rhion
File link changed ^^ Should be much easier to download now.

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 5:29 pm
by bartbes
HINT: Use z!

Some comments:
  • The game goes WAY to fast (did you use dt?)
  • Z?! What's wrong with return?
  • I got an 'attempt to index nil value' at line 309 if I remember correctly.

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 6:08 pm
by qubodup
nice!

I don't like the sound effect though, not gentle enough.

I also think the blocks are too glow-brighty.

I helped once with gfx in a game like this :3

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 6:14 pm
by Rhion
bartbes wrote:HINT: Use z!

Some comments:
  • The game goes WAY to fast (did you use dt?)
  • Z?! What's wrong with return?
  • I got an 'attempt to index nil value' at line 309 if I remember correctly.
Seems like a bit of fail today ;P

about the movement what OS are you using? It doesn't move that fast on my comp :/ Will look into it.
And yes Z. Forgot to write down the controls :roll:
(The reason for Z was for using X and shift for coming features. Though Z does feel kinda "small"
qubodup wrote:nice!

I don't like the sound effect though, not gentle enough.

I also think the blocks are too glow-brighty.

I helped once with gfx in a game like this :3
Was hard to find sound effects. Got no skills in audio editing. If you got any good site for sound effects I would be happy :nyu:
Block graphics are not final. I personally hate the fire and wind blocks.

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 6:19 pm
by bartbes
It's really WAY too fast, if I don't move I lose in a few secs. OS = Ubuntu Linux, and shouldn't matter.
This is a common mistake, you can use dt to correct for speed, apparently my pc runs the code a lot faster. (using dt you can limit movement to.. for example 1 block/second)
Example:

Code: Select all

movementPerSecond = 300

function update(dt)
    x = x + movementPerSecond * dt
end
Another thing that should help is enabling vsync (don't know if my driver respects it though, so it might already be on)

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 6:25 pm
by Rhion
@ Bartbes:

Thanks for the tip Will try with dt.

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 6:58 pm
by qubodup
Rhion wrote:Was hard to find sound effects. Got no skills in audio editing. If you got any good site for sound effects I would be happy :nyu:
Check out http://love2d.org/forum/viewtopic.php?f=3&t=12

Re: Elements BETA(my first game in lua)

Posted: Fri Apr 24, 2009 10:28 pm
by Rhion
New Version: 0.7.5

Hopefully I fixed the speed bug ;O It would be nice if you could test it for me.

Check first post for changelog.