The Flixel Power Tools are a package of classes designed to provide extra functionality to your Flixel games. Originally created by Richard Davey (Photon Storm), this is the Flixel Community fork of the library, striving to keep the library living and up to date with the latest version of Flixel.
org.flixel.system.Input is updating before FlxControl has the opportunity to see the JUST_DOWN state of the key. When FlxControl runs on draw() the key state has already changed to PRESSED.
Issue by ooflorent from Sunday Jul 07, 2013 at 06:53 GMT Originally opened as https://github.com/photonstorm/Flixel-Power-Tools/pull/17
org.flixel.system.Input
is updating beforeFlxControl
has the opportunity to see theJUST_DOWN
state of the key. WhenFlxControl
runs ondraw()
the key state has already changed toPRESSED
.ooflorent included the following code: https://github.com/photonstorm/Flixel-Power-Tools/pull/17/commits