hey I’ve been working on this flash game from a tutorial. and I’m wondering how do I restart the functions when I start a new game after winning or losing, basically make sure everything is deleted / reset properly
when you either win or lose a game you just click and you go back to frame 1, where you are told to “click to begin” the problem is that once you’ve clicked and started a new game the “click to begin” is still on screen and if you click while playing (say by accident) the game immediately starts again and the ball just builds and builds more momentum.
It’s a real problem i don’t want to start again with another tutorial because I’m on a dead line, but has anyone else used this tutorial and fixed this problem.
tutorial here;
http://www.flashgametuts.com/tutorials/as3/how-to-create-a-brick-breaker-game-in-as3-part-6/