Chapter 9: Game State, Menus & Scene Flow

Professor Parse

In this chapter, you'll wrap a collection of tiny games, called Micro Mania, in a real shell. The big idea is scene flow: how a game moves from a splash screen to a menu to a game to a results screen, and how it remembers what happened along the way.

I'm still writing this chapter, step by step. In the meantime, you can play the finished game, and read the code and the assets that make it, so that you can run it and change it yourself.

Play the Game

The code that makes it:

The assets, which go in an assets folder next to the game: