Chapter     4

Title, Menu, and Settings Scenes

Okay, so you know Astro Rescue has a title scene, a menu scene, and a settings scene, in addition to the actual game scene itself. In Chapter 3 we saw all these, on top of all of the basic configuration files and the beginnings of the actual code in main.lua.

Now it’s time to move into the scenes themselves. Some are quite simple (the title scene), while the others (menu and settings) have a little more meat on their bones, as the saying goes. All three of the scenes we’re looking at in this chapter are actually quite small in terms of overall amount of code, but the nice thing about them is they’ll force us to look at quite a bit of the Corona API along the way.

I’ll kick things off with what is ...

Get Learn Corona SDK Game Development now with O’Reilly online learning.

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