From ab0c9bfeb4d3a6c72eb54b08df5e4ee8b702b184 Mon Sep 17 00:00:00 2001 From: Spel0 <75626813+Spel0@users.noreply.github.com> Date: Sun, 11 Jul 2021 22:29:57 +0300 Subject: [PATCH] flip --- source/AnimationDebug.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/AnimationDebug.hx b/source/AnimationDebug.hx index 05b40d6..46d2188 100644 --- a/source/AnimationDebug.hx +++ b/source/AnimationDebug.hx @@ -118,6 +118,9 @@ class AnimationDebug extends FlxState if (FlxG.keys.justPressed.Q) 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)