Chapter     3

Basic Application Structure

As with any software project you can name, building a game starts with building a good, solid foundation. Of course Corona sets you on good footing from the word go, but how you architect the code is at least as important as what the library you use provides.

Many considerations must be taken into account. How do you move from screen to screen? How do you organize your graphics and audio resources? How do you structure the code so that it’s logical and at least somewhat extensible in the future, should you decide to enhance the game for your customers?

All of this, and more, is what this chapter is all about. Before I even get to questions of architecture, though, you probably should get an idea of what ...

Get Learn Corona SDK 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.