Summary

In this chapter, we have learned the basics of user input. We have covered the touchscreen and accelerometer and seen how to make the game respond to touch and tilt events using animations and how to deal with collisions. Lastly, we have looked into the most common mistake that happens when working with entities and threads and how to deal with those problems.

In the next chapter, we are going to add physics to our game. We will learn about different physics bodies, forces, and how to detect collisions using the physics engine.

Get Learning AndEngine 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.