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.

Code Snippets / Fading Snake

Author
Message
Dgamer
23
Years of Service
User Offline
Joined: 30th Sep 2002
Location:
Posted: 18th Jun 2006 06:14 Edited at: 19th Jun 2006 19:53
Heres a simple snippet on how to do something similar to a nokia snake game, but have the snake fade out. Check the screenshot for more info.

I know the code is unoptimized(like using alot of if's when a select statement would be much easier), but thats really just for easier readability for me.

Here is the code.

(Arrowkeys move the snake)




Login to post a reply

Server time is: 2026-06-10 08:00:52
Your offset time is: 2026-06-10 08:00:52