PDA

View Full Version : Snake Game



vortex92
June 12th, 2006, 06:21 AM
(http://www.kirupa.com/forum/showthread.php?t=221916
continued from that thread)
ok.. i wanted to do something like that in the above thread but i gave up.. =(

i found this tutorial in kirupa and made that game
http://www.tutorialized.com/tutorial/Snake-Game/12972

now i was wondering how do i create a menu which states the game's name and 2 buttons in the menu which when clicked, shows us the instructions and the other button, starts the game...

ø
June 13th, 2006, 11:50 AM
thats not hard;)
On the first frame you create the menu. with one start-game-button and one instructions-button! The code on the instructions-button could be

on (release) {
gotoAndStop(2);

}
and the code on the "play" button could be

on (release) {
gotoAndStop(3);

}
Then on frame 3 you just create the game as it says in the tutorial;)
-remember to create some instructions in frame 2! :) And maybe a "back" button would be nice:D

peace;)