Summary

We have taken large steps towards finishing the game in this chapter. We learned to create menus in SpriteKit, added the main menu to the game, and gave the player a way to restart the game when they run out of health. Then, we enhanced the gameplay experience with catchy background music and timely sound effects. The game now feels finished; we are very nearly ready to publish our game.

One final step remains: we will explore integration with the Apple Game Center to track high scores and achievements in Chapter 10, Integrating with Game Center. Game Center integration encourages your players to keep playing and improving. They will be able to see their own best score, view the top scores from around the world, and challenge their friends ...

Get Game Development with Swift 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.