Chapter 15
Sample Source Code
You have nearly come to the end of this book; I hope you have had a good read and learned a lot. In the first part of the book I introduced you to Lua and its functions, and in the second part I introduced you to the various Lua-based frameworks that you can use to develop for iOS devices. This chapter will provide the complete source code for an application called Chopper Rescue, which you can use as a base for creating your own games.
In Chopper Rescue, you are in control of a rescue chopper, with the goal of saving survivors. As your chopper moves, you’ll need to avoid various obstacles that can cause you to crash. When survivors appear, your job is to collect them. In certain situations, you’ll need to tap ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access