Book Image

Game Development with Swift

By : Stephen Haney
Book Image

Game Development with Swift

By: Stephen Haney

Overview of this book

Table of Contents (18 chapters)
Game Development with Swift
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Great job – we have covered a lot of ground in this chapter. You learned about Xcode's new scene editor, learned to use the scene editor to lay out placeholder nodes, and interpreted the node data to spawn game objects in our game world. Then, you created a system to loop encounters for our endless flyer game.

Congratulate yourself; the encounter system you built in this chapter is the most complex system in our game. You are officially in a great position to finish your first SpriteKit game!

Next, we will look at creating custom events when game objects collide. We will add health, damage, coin pick-up, invincibility, and more in Chapter 7, Implementing Collision Events.