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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.