AgentsCatalog: Using the Agents System in GameplayKit
Last Revision: | Version 1.0, 2015-09-16 First public release. |
Build Requirements: | Xcode 7.0, iOS 9.0 SDK |
Runtime Requirements: | iOS 9.0 |
Uses the Agents system in GameplayKit to let the characters in a game move themselves according to high-level goals. This sample demonstrates several of the individual goals that an agent can perform, such as moving to a target, avoiding obstacles, and following a predefined path. AgentsCatalog also shows how to tie multiple goals together to create more complex behaviors, such as making a group of agents seek a common target while moving together as a flock.
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-09-16