Book Image

Swift by Example

By : Giordano Scalzo
Book Image

Swift by Example

By: Giordano Scalzo

Overview of this book

Table of Contents (15 chapters)

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.