Book Image

Corona SDK HOTSHOT

By : Nevin Flanagan
Book Image

Corona SDK HOTSHOT

By: Nevin Flanagan

Overview of this book

<p>If you've used the Corona Software Development Kit to build your very first new mobile app, you already know how easy it makes developing across all the pieces of this fragmented market. This book upgrades your knowledge of Lua and the Corona API with designs, habits and advanced concepts to speed your development and create more exciting apps.</p> <p>Corona SDK Hotshot will show you how to combine advanced Lua features such as coroutines and metatables with Corona's sophisticated tools, including physics and networking, to develop exactly the game or app you or your customers need, quickly and with an eye towards updating your app with improvements in the future.</p> <p>Corona SDK Hotshot will expand your basic knowledge of Corona with an insight into making the most of its event platform, using physics wisely and easily, and moving on to advanced programming tasks like path-finding.</p> <p>You will focus heavily on how to keep your programs understandable as they become more complicated, by using modules and events to divide it up. You'll practice ways to make AI scripts and map files easily understandable to designers and other collaborators, and use networks like GameCenter to publish progress.</p> <p>The last projects will combine the full range of covered material to illustrate how you can produce sophisticated and exciting apps as a Corona Hotshot!</p>
Table of Contents (18 chapters)
Corona SDK HOTSHOT
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Can you take the HEAT? The Hotshot Challenge


The game currently has a couple of weaknesses; it's not persistent in the event the user closes it to use something else, and in the event that a previously visited scene gets unloaded, the chests in that room will reset, allowing the player to finish the level without visiting all chests.

Make the game persistent; preserve the statuses of the various chests in a file so that they can be set back to their old statuses when the game is reloaded. Refer back to Project 2, SuperCargo – Using Events to Track Game Progress, if you need examples of saving game status advances.