This is my last scene script the stop(); stops the play from playing all the scene's.
The channel1.stop stops the main game sound track.
The myTimer.stop(); stops the timer so that you can save your result.
i have created an add event listener for the scoreboard and also i created the function for the scoreboard.
in the function there is the same code we had in the main game so then it knows when to save the score and timer.
Then at the bottom there is a sound script and button i have already discussed, but this button go's to the bottom and plays the game again.
No comments:
Post a Comment