Chapter 10. Optimizing, Testing, and Shipping Your Games

Developing a game to the point of completion is a great accomplishment. It's one step closer to sharing it with the rest of the world, so that other people can play your new game. The benefit of creating your game with Corona SDK is that you have the option to build for iOS and/or Android. You want to ensure that your application is ready for submission so that it can be distributed in the mobile platform you're developing in. We'll go over the process of what it takes to prepare your game for its release.

In this chapter, we will cover the following topics:

As you develop your application, you should always consider how your design choices affect the performance of your application. The device memory still has its constraints even though there are improvements in the computing power and memory. Performance and optimization within the device will not only achieve faster response times, but also help minimize memory usage and maximize battery life. A link to an example on how to check memory usage can be found at https://gist.github.com/JesterXL/5615023.

Memory is an important resource on mobile devices. When too much memory is being consumed, devices may be forced to quit your application when you least expect it. Here are some things to be aware of while developing: