Example
Example
Click on the example then press 'space' to restart the game.
Fully understand the concept by watching the tutorial in full screen at high res.
Once you have watched the video, you can refer to the code below to help you make your own that fits your game. Make sure you type it yourself to help you learn.
Drawing the end screen should be a function like this, that is only called during a specific game mode. The 'getFlashValue()' function is not built into microStudio, you will have to go here and click import source file .
You can easily reset the entire game by calling the 'init' function again when the game mode is 'end screen' and the space key is being pressed.