KKCameraFollowBehavior Class Reference
Inherits from | KKBehavior : NSObject |
Declared in | KKCameraFollowBehavior.h |
Overview
Makes the “camera” follow the node owning this behavior. The scrollingNode should be the scrolling world. The scene’s anchorPoint should be at {0.5, 0.5} to center the behavior node on the screen/window.