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

We need help—more methods for the Update process

Right now you can't play the game. To finalize the OnUpdate method and the gameplay in general, we need more helper (support) methods. If you create smaller methods for more detailed tasks, it is easier to interface with them in other places and also easier to maintain.

Loading and showing the high score list

To show the high score list, we first need a function that will load it from the app state. As the app state is just a string of characters, we will utilize the LoadFromString method of the engine's score list.

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