O'Reilly logo

Monkey Game Development by Michael Hartlef

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required