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

Introduction


Apple has launched its first game engine that allows you to create games for iOS without being dependent on the third-party game libraries. It is a very powerful framework similar to other iOS frameworks and is similar to other frameworks when it comes to its usage. It's also very easy to adopt and learn. It also supports lots of features such as physics simulations, texture atlas, gravity, restitution, animations, particle emitters, game center support, and many more. Moreover, it comes with very rich developer documentation for SpriteKit at the Apple development center. It's very useful and very well written. You might need to understand the anatomy of game development first to get started with game development in SpriteKit. There are two basic and most important terms here; one is scenes and the other is sprites. Scenes can be considered as the layers in the games. Therefore, in any game there are various layers such as the score layer, hud layer, and gameplay layer that can act as different scenes. However, any object in the scene such as a player or an enemy can be considered as a sprite.