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


In Chapter 5, Adding Music to iOS Games and an Introduction to iCloud we learned various ways to add music to our games along with iCloud integration. Now in this chapter, our major focus will be on adding reality to the games by introducing physics simulation. SpriteKit has a seamlessly bundled physics engine and in this chapter we will be exploring and working to add physics to our games. Basically, the SpriteKit has been divided into the following two major components:

  • The graphical interface that you see on the screen including UI interface, animations, sound effects, and so on

  • The second is the physical physics world, which determines the interaction and behaviors of game objects