flixel.addons.plugin.control

..
FlxControl

FlxControl

FlxControlHandler
  • Makes controlling an FlxSprite with the keyboard a LOT easier and quicker to set-up! Sometimes it's hard to know what values to set, especially if you want gravity, jumping, sliding, etc. This class helps sort that - and adds some cool extra functionality too :)

TODO: Hot Keys TODO: Binding of sound effects to keys (seperate from setSounds? as those are event based) TODO: Specify animation frames to play based on velocity TODO: Variable gravity (based on height, the higher the stronger the effect)