DemoBots: Building a Cross Platform Game with SpriteKit and GameplayKit

Last Revision:
Version 2.3, 2016-09-13
Updated to Swift 3
(Full Revision History)
Build Requirements:
Xcode 8.0, OS X 10.12 SDK, iOS 10.0 SDK, tvOS 10.0 SDK
Runtime Requirements:
OS X 10.12, iOS 10.0, tvOS 10.0

DemoBots is a fully-featured 2D game built with SpriteKit and GameplayKit, and written in Swift. It demonstrates how to use agents, goals, and behaviors to drive the movement of characters in your game, and how to use rule systems and state machines to provide those characters with intelligent behavior. You'll see how to integrate on-demand resources into a game to optimize resource usage and reduce the time needed to download additional levels. DemoBots takes advantage of the Xcode scene and actions editor to create detailed levels and animations. The sample also contains assets tailored to ensure the best experience on every supported device.