flip
This commit is contained in:
1 parent
388c6215c7
commit
ab0c9bfeb4
1 file changed
+3
@@ -118,6 +118,9 @@ class AnimationDebug extends FlxState
|
|||||||
if (FlxG.keys.justPressed.Q)
|
if (FlxG.keys.justPressed.Q)
|
||||||
FlxG.camera.zoom -= 0.25;
|
FlxG.camera.zoom -= 0.25;
|
||||||
|
|
||||||
|
if (FlxG.keys.justPressed.F)
|
||||||
|
char.flipX = !char.flipX;
|
||||||
|
|
||||||
if (FlxG.keys.pressed.I || FlxG.keys.pressed.J || FlxG.keys.pressed.K || FlxG.keys.pressed.L)
|
if (FlxG.keys.pressed.I || FlxG.keys.pressed.J || FlxG.keys.pressed.K || FlxG.keys.pressed.L)
|
||||||
{
|
{
|
||||||
if (FlxG.keys.pressed.I)
|
if (FlxG.keys.pressed.I)
|
||||||
|
|||||||
Reference in new issue
Block a user