Chapter    6

Menus & Popovers

By this point, you have a level and game elements that make the game playable in principle. Before expanding upon more game elements and additional levels, I would like to take some time to connect the dots...the menus to be precise.

The saws should probably kill the player, but this requires a Game over menu to allow the player to retry or end the level. You can’t pause the game either, nor does it pause automatically when the app is sent to the background.

You’ll learn how menus can be designed to scale easily with varying screen resolutions, as well as how to present them as popovers or full-screen views without having to change scenes. You will also find use for the Callbacks feature of the Timeline.

Static ...

Get Learn SpriteBuilder for iOS Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.