SpriteKit Physics Collisions
Last Revision: | |
Build Requirements: | Xcode 5.0 or later |
Runtime Requirements: | Mac OS X v10.9 or later |
SpriteKit Physics Collisions demonstrates how to use collision masks and contact masks to create interactions between different game objects. Movement within the game simulation is also performed using the physics subsystem. When a player presses keys on the keyboard, forces are applied to the spaceship to move it within the simulation. Many of the techniques in this sample are also applicable when writing Sprite Kit apps for iOS.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-06-23