Hello everyone!
This morning I woke up earlier and I made a snake clone: https://youtu.be/HSshPiw7qYA
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
Snake clone in 3 hours
Snake clone in 3 hours
Last edited by easy82 on Tue Nov 22, 2016 7:29 pm, edited 1 time in total.
- 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
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
However, there's a bug in your game: if you push a key opposite to the direction the Snake is moving, it kills you
Re: Snake clone in 3 hours
Isn't that how it should be??
Thanks for trying it out by the way!
Thanks for trying it out by the way!
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Snake clone in 3 hours
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!
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)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Snake clone in 3 hours
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.)
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Snake clone in 3 hours
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)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Snake clone in 3 hours
I've fixed the bugs, updated the first post.
Who is online
Users browsing this forum: No registered users and 0 guests