Hi, I am trying to make a flash game. I have it almost complete. But i don’t know how to make a menu. So far I did this.
- I draw a character and enemy in Corel, also a landscape as background.
- I started a new project in AdobeFlash CS6, I place a background image there and then character and enemy, which I F8 to movieclips. And i deleted them. So just background stayed. Now i created file Main.as where i put whole script. I have exported file which is pretty much playable, one problem is that it plays without any clicking- so i need to make a menu. HOW?
I tried to make new scene, scene2 where i put that background from game, and in scene1 i created new one, background for menu, with button. I tried to write script for that button, but stop(); don’t work. Nothing work. Two frames (background for the game, and background for the menu with button) flashing. I don’t know if i even need to make new scenes. So far i have everyting in scene1 frame1. And it directly plays the game. So what to do? We learn changing scenes with single shapes. But now I think problem is that i have whole script in main.as. And i don’t know. I tried to move everyting from main.as to the scene2 action window, and in scene1 i wrote that stop(); and mouseEvent, gotoAndStop(); … but everything i do will result only to flashing.
And idea is to have 3 buttons, one for play game- which procceed to the part I already have finished- the game itself, next will be credits wich should play third scene, where should be button for return to the first scene (menu) And finally button for exit. I don’t know if I need to use scenes, or frames will do the same.