Abstract
In the Painter game, you created a very basic mechanism for objects moving around in the game world and colliding with each other. In Tut’s Tomb, this is no longer sufficient. Objects need to fall according to gravity, they need to bounce off walls, and they need to handle collisions differently. In this chapter, you are going to adapt your game structure so that it is more suitable for these advanced interactions. You will see that it’s quite simple to add physically correct behavior to your game objects in SpriteKit.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Arjan Egges
About this chapter
Cite this chapter
Egges, A. (2015). Game Physics. In: Swift Game Programming for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0650-8_13
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0650-8_13
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0651-5
Online ISBN: 978-1-4842-0650-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books