Chapter 6. Flappy Swift

After having explored how to build normal apps with the previous two apps, let's go back to games.

These apps will use two useful frameworks that iOS provides for casual game developers: SKSprite and SKScene. The former is a handy and powerful 2D game framework that provides a physics engine based on Box2D (http://box2d.org/). The latter allows indie game developers to implement three-dimensional games.

Let's start using the first framework by implementing a nice clone of Flappy Bird.

The app is…

Only someone who has been living under a rock for the past 2 years could have not heard of Flappy Bird, but to ensure that everybody understands the game, let's go through a brief introduction.

Flappy Bird is a simple but addictive ...

Get Swift 2 By Example 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.