Introduction
Game optimization plays a critical role in the success of a game on Google Play. It is likely that a user will rate a game negatively if it doesn't run well on their device. Unfortunately, with there being so many different devices out there and no way to effectively mass-restrict low-end devices on Google Play, it's best to optimize Android games as much as possible. Ignoring ratings, it's fair to assume that a game with poor performance across the mid-level devices will not reach its full potential as far as downloads and active users go. This chapter is going to cover some of the most helpful solutions for performance issues related to AndEngine. This will help us to improve performance for mid- to low-end devices, eliminating the need to sacrifice quality.
Note
While the recipes in this chapter can greatly improve the performance of our games, it is important to keep in mind that clean and efficient code goes equally as far. Game development is a very performance-critical...