Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Little Snake game example and demo with fluid moves

Author
Message
Crystal Noir
AGK Bronze Backer
13
Years of Service
User Offline
Joined: 7th Sep 2011
Location: France
Posted: 11th Nov 2012 14:12 Edited at: 11th Nov 2012 14:13
Hi everyone,

I have create an example for you (or a little demo) that shows how to create a snake game style, with fluid moves and not "cell by cell" moves like the original.

In this example a "piece of body" is created each frame, and is deleted if the lenght of the snake is reached. A little tip is used to ovoid the program testing the collision when a "piece of body" is created at the x and y coordinate of the player.

Finally, I use some simple particles effects.

I attached this example to this topic, click "download" at bottom on the right

PS : sorry for my english

Enjoy !

Attachments

Login to view attachments
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 12th Nov 2012 14:26
Sounds similar to what I did in Moon Snaker. I'll check it out a little later!

Crystal Noir
AGK Bronze Backer
13
Years of Service
User Offline
Joined: 7th Sep 2011
Location: France
Posted: 12th Nov 2012 15:09
oh ! sorry if an example like this, has already been made
Marl
13
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 12th Nov 2012 18:45
Not an example, a small community challenge;

http://forum.thegamecreators.com/?m=forum_view&t=196531&b=41
Crystal Noir
AGK Bronze Backer
13
Years of Service
User Offline
Joined: 7th Sep 2011
Location: France
Posted: 12th Nov 2012 19:19
Great.

But I hope my sample will be usefull for someone
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 13th Nov 2012 03:21
@Crystal Noir, No I just wasn't complaining, just plugging my game Smart little game you have there btw. Nice movement on the snake and all in a nice tidy little bit of code. Mine is normally horrible to read
If you like snake games I recommend you try all the entries of the compo out as they are all good. There's download links for android and iphone versions on my sig and the pc version I think is still up on these forums in the compo posts.

Crystal Noir
AGK Bronze Backer
13
Years of Service
User Offline
Joined: 7th Sep 2011
Location: France
Posted: 14th Nov 2012 17:18
that's fine thank's no problem ^^

Login to post a reply

Server time is: 2024-11-24 01:25:38
Your offset time is: 2024-11-24 01:25:38