flip
This commit is contained in:
parent
388c6215c7
commit
ab0c9bfeb4
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user