Elements BETA(my first game in lua)

Show off your games, demos and other (playable) creations.
User avatar
Rhion
Prole
Posts: 6
Joined: Thu Apr 23, 2009 7:36 pm
Location: Sweden ;P

Elements BETA(my first game in lua)

Post by Rhion » Fri Apr 24, 2009 3:05 pm

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
Last edited by Rhion on Fri Apr 24, 2009 10:26 pm, edited 4 times in total.

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Elements BETA(my first game in lua)

Post by Robin » Fri Apr 24, 2009 4:57 pm

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...)
Help us help you: attach a .love.

User avatar
Rhion
Prole
Posts: 6
Joined: Thu Apr 23, 2009 7:36 pm
Location: Sweden ;P

Re: Elements BETA(my first game in lua)

Post by Rhion » Fri Apr 24, 2009 5:12 pm

File link changed ^^ Should be much easier to download now.

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Elements BETA(my first game in lua)

Post by bartbes » Fri Apr 24, 2009 5:29 pm

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.

User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Elements BETA(my first game in lua)

Post by qubodup » Fri Apr 24, 2009 6:08 pm

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
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)

User avatar
Rhion
Prole
Posts: 6
Joined: Thu Apr 23, 2009 7:36 pm
Location: Sweden ;P

Re: Elements BETA(my first game in lua)

Post by Rhion » Fri Apr 24, 2009 6:14 pm

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.
Last edited by Rhion on Fri Apr 24, 2009 6:22 pm, edited 1 time in total.
(>^^)>

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Elements BETA(my first game in lua)

Post by bartbes » Fri Apr 24, 2009 6:19 pm

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)

User avatar
Rhion
Prole
Posts: 6
Joined: Thu Apr 23, 2009 7:36 pm
Location: Sweden ;P

Re: Elements BETA(my first game in lua)

Post by Rhion » Fri Apr 24, 2009 6:25 pm

@ Bartbes:

Thanks for the tip Will try with dt.
(>^^)>

User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Elements BETA(my first game in lua)

Post by qubodup » Fri Apr 24, 2009 6:58 pm

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
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)

User avatar
Rhion
Prole
Posts: 6
Joined: Thu Apr 23, 2009 7:36 pm
Location: Sweden ;P

Re: Elements BETA(my first game in lua)

Post by Rhion » Fri Apr 24, 2009 10:28 pm

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.
(>^^)>

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 7 guests