Chapter 7. Polishing Flappy Swift
We ended the previous chapter with a complete clone of Flappy Bird.
Although the game is fun and you can play exactly as you do in the original, you might have noticed that the game is lacking something that makes professional games more interesting to play.
The goal of this chapter is to fill this lacuna by adding some juiciness and integrating the game with the Game Center to create a leaderboard and increase the engagement of your players.
Adding juiciness
Juiciness in a game or an app can be defined as all the effects such as sounds, zooming, or shaking elements. Although they are not indispensable to the game, they make the experience of gaming more pleasant.
Let there be sounds!
The first thing we add is sound ...
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.