Summary

I hope you had a lot of fun with this chapter. You have learned how to use SpriteKit and have also enjoyed the game.

SpriteKit works in a very simple and logical way. You have to create nodes such as images and labels and animate them using actions. Actions can be moving, playing a sound, or rotating the node, or even a collection of actions like a group or a sequence.

You also learned how to use the accelerometer, making the game more enjoyable as you could move the dinosaur by turning the device like a car wheel.

In the next chapter, we will create an app for Apple Watches; hope you will enjoy it.

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