Snake clone in 3 hours

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Snake clone in 3 hours

Post by easy82 »

Hello everyone!

This morning I woke up earlier and I made a snake clone: https://youtu.be/HSshPiw7qYA
screenshot.jpg
screenshot.jpg (22.7 KiB) Viewed 4133 times
I had fun again making this mini game. Thank you Love2D devs for this framework! :)

* Original versions *
Love version: https://dl.dropboxusercontent.com/u/429 ... clone.love
Win32 version: https://dl.dropboxusercontent.com/u/429 ... -win32.zip
Win64 version: https://dl.dropboxusercontent.com/u/429 ... -win64.zip
Web version & source: http://lovefiddle.com/GgivuZbKs8tPfc3Ym

* Update 2016-11-22 *
- Fixed turn back & loose a life bug
- Added a slight delay at start
- Added the ability to reset the game
- Fixed last level (made it easier)

* Updated versions *
Love version: https://dl.dropboxusercontent.com/u/429 ... dated.love
Win32 version: https://dl.dropboxusercontent.com/u/429 ... -win32.zip
Win64 version: https://dl.dropboxusercontent.com/u/429 ... -win64.zip
Web version & source: http://lovefiddle.com/zwntrMCwj9nqXi5RZ
Last edited by easy82 on Tue Nov 22, 2016 7:29 pm, edited 1 time in total.
User avatar
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: Snake clone in 3 hours

Post by HugoBDesigner »

Nicely done! It's pretty good progress for 3 hours!

However, there's a bug in your game: if you push a key opposite to the direction the Snake is moving, it kills you :P
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Snake clone in 3 hours

Post by easy82 »

Isn't that how it should be?? :)

Thanks for trying it out by the way!
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Snake clone in 3 hours

Post by Positive07 »

Not if you start and inmidiatly press left, expecting the snake to go in the left direction instead of right...

Anyway the game is actually pretty good, a little fast at the beggining maybe? I don't know I still could play fine so good job! and keep it up!
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Snake clone in 3 hours

Post by easy82 »

Thanks! You're right, I've just played some snake game clones and it should either turn back or don't react... Note to myself: play the genre first and then make your clone. (Well, of course I did play it previously, but it has been quite a while.)
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Snake clone in 3 hours

Post by Positive07 »

Haha no problem! It's just minor stuff...
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
easy82
Party member
Posts: 184
Joined: Thu Apr 18, 2013 10:46 pm
Location: Hungary

Re: Snake clone in 3 hours

Post by easy82 »

I've fixed the bugs, updated the first post.
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests