Adding Collision Detection and Event Handling
There is possibly nothing worse than working incredibly hard on a coding task and then realizing it was unnecessary. To avoid this issue, I spend a good amount of time diagramming and figuring out how the program will work and what it will look like. Figure 6-3 is a chart that shows what needs to be done and how the game loop must work.
If you’re working with a team on your app, it’s even more critical for everyone to share a vision for the finished project. This is when you may want to create concept art so that everyone has something to look at as they work on the code or assets.
Get Beginning Android Tablet Games Programming 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.