Book Image

iOS Game Programming Cookbook

Book Image

iOS Game Programming Cookbook

Overview of this book

Table of Contents (19 chapters)
iOS Game Programming Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. SpriteKit

In this chapter, we will cover the following recipes:

  • Learning the basics of SpriteKit – The FlyingSpaceship tutorial

  • Understanding scenes, nodes, and sprites

  • Anatomy of game projects

  • Applying actions on Sprites

  • Adding infinite scrolling

  • Moving characters

This chapter explains SpriteKit in detail. We'll start from a discussion on the basics of SpriteKit, and then we will be learning about the anatomy of the game project. Moving ahead, we will learn about scenes, sprites, and nodes. This will provide us a deeper understanding about the basic structure model of the SpriteKit. Then we will be exploring the depth of SpriteKit by adding some actions to the sprites. Moving ahead, we will be adding infinite scrolling to the game that will be created during the chapter.