O'Reilly logo

Swift 2 By Example by Giordano Scalzo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required