Click the Button to get to the next level.If you click on a red button ,or an orange button,you have to start from the beginning.
Click the Button to get to the next level.
GameCanvas is a Canvas with additional capabilities; it provides methods for immediate painting and for examining the state of the device keys. These new methods make it possible to enclose all of a game's functionality in a single loop, under control of a single thread. To see why this is attractive, think about how you would implement a typical game using Canvas: