Joystick-like control for Cocos2d apps. When the user touches the screen the Joystick will appear and set the touch point as its origin.
Control is determined by one of two properties - the direction property gives the direction of the joystick in one of 8 directions and the angle property gives the direction in 360 degrees. The magnitude property gives distance of the joystick from the origin.
The magnitude property can be used for example to create a "pressure sensitive" run speed. The higher the magnitude the higher the movement speed.
Sample Joystick images are included in the package
Questions & Comments