Summary

In this chapter, we shifted gears and introduced a new framework. You learned about the most common and useful features when it comes to building a video game.

You also learned how to implement scrolling using different speeds to simulate depth. Then, we added a character, animated it, and made it move.

Finally, we introduced a physics engine. It is useful for many purposes, including collision detection. Although the game is functionally complete, in the next chapter we'll continue to polish it by adding music, video, sound effects, and a connection to the Game Center.

Get Swift: Developing iOS Applications 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.