Welcome, my friend, to the final chapter in our exploration of Astro Rescue! You’ve seen a lot so far, gotten quite familiar with a large chunk of Corona SDK, and built a nice little game in the process. There’s only one piece missing now, and that’s the ending scene, the player’s reward for a job well done!
It’s not a particularly lengthy bit of code, but it does introduce a few new concepts, a few new things that Corona has to offer. So, let’s not waste much time with preliminaries—let’s dive right into things.
A Few Variables to Start
The last few chapters have been an exploration of the core code behind Astro Rescue. Of particular interest is to remember that they represent a chunk of code that in a sense piggybacks ...