The Daily Click ::. Forums ::. Klik Coding Help ::. Help Making Snake Games
 

Post Reply  Post Oekaki 
 

Posted By Message

Vickyboy



Registered
  6/13/2003
Points
  927
26th June, 2003 at 11:02:35 PM -

Snake Game Makers, please send me a snake game for TGF open source file or teach me how to make one. I REALLY NEED YOUR HELP!!! Thanks.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  7/29/2002
Points
  5683

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th June, 2003 at 1:03:22 AM -

AAAAARGH! I think you took the advice "Use descriptive headings" a little to literaly. I can help you with snake games though!

Snake games are easy. The code is very simple:

player pressed right - set snakehead.direction to right.

if player direction = right - create snake body at snake head.
+ every 0.10 secs - snakehead.x = snakehead.x + (snake head size here)

Then you just repeat that for all directions. This is for a 4 direction snake. I made an example of this a while ago, i would upload it but that wouldnt b any good because its MMF.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Vickyboy



Registered
  6/13/2003
Points
  927
27th June, 2003 at 5:11:02 AM -

thanks alot assualt andy! i'll try it.

 
n/a

Jack Galilee



Registered
  12/2/2002
Points
  990

VIP Member
27th June, 2003 at 6:33:13 AM -

Why bother Vicky boy youll just end up with another WWE JUKE BOX TYPE GAME!

 
The only thing better than winning gold in the paralympics is not being retarted

ShadowCaster

Possibly Insane

Registered
  1/2/2002
Points
  2203
27th June, 2003 at 11:46:11 PM -

Fixed title.

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Assault Andy

Administrator
I make other people create vaporware

Registered
  7/29/2002
Points
  5683

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th June, 2003 at 11:48:07 PM -

Sc - Thx

Spiderhead - Give him a break!

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

JonWoG

Possibly Insane

Registered
  8/1/2002
Points
  2535
28th June, 2003 at 2:52:06 AM -

Huh?? Why do calculations???
Just make the head move using the mosue keys and do the following events:
* Every 00,02 create "Body" at 0,0 from "Head"
* Always add 1 to Alt Val A of "Body"
* If Alt Val A of "Body" > 10 then destroy "Body"
And change "10" to higher if you want the snake longer or lower if you want it shorter.
It's a much easier way and you can do loads of directions.

 
tel them i hav a diz33z.
tel them i hav...
SUP3R CANSIR!

Santa



Registered
  5/19/2003
Points
  644
28th June, 2003 at 9:30:28 AM -

Snake - Open Source
http://www.create-games.com/download.asp?id=3083

 
SAnTA - www.atnas.com

-------------------
www.create-games.com/download.asp?id=2918

Blackgaze

Possibly Insane

Registered
  11/1/2002
Points
  3158

VIP Member
1st July, 2003 at 12:12:02 PM -

Assault Andy, i havn't said anythink about this board so why u saying QUOTE "Spiderhead - Give him a break!" when i havn't even said nothink!
IT DAMAGES THE MIND WHEN U THINK ABOUT IT!!!!!

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Assault Andy

Administrator
I make other people create vaporware

Registered
  7/29/2002
Points
  5683

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
1st July, 2003 at 5:14:36 PM -

JonWog - This is for a snap to grid effect. And adding to the destroying, when you get an apple or whatever you are collecting add one to the alterable value and the tail gets longer.

Spiderhead - Woops big bag of sorry coming your way. I meant Total.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click