Methods for the update process

The game is now at a state where it will just display the title screen and nothing more. There is no interaction and all other game objects are not involved so far. The OnUpdate method of the game class controls the flow of the game. For this, we need some helper methods that can be called when updating the game.

The hero—spawning the player plane

The player plane will appear and also disappear from the screen at certain situations.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.20.156