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 O’Reilly online learning.

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