class flixel.ui.FlxAnalog extends FlxSpriteGroup
Available on all platforms
A virtual thumbstick - useful for input on mobile devices. * * @author Ka Wing Chin
Instance Fields
function new(X:Float, Y:Float, ?Radius:Float = 0, ?Ease:Float = 0.25f):Void
Create a virtual thumbstick - useful for input on mobile devices. * *
X | The X-coordinate of the point in space. * |
Y | The Y-coordinate of the point in space. * |
radius | The radius where the thumb can move. If 0, the background will be use as radius. * |
ease | The duration of the easing. The value must be between 0 and 1. |