From 6f308cea59fb45b42a645c5aae4d8da6f50909b9 Mon Sep 17 00:00:00 2001 From: Rain Clark Date: Wed, 5 Oct 2016 07:24:24 -0400 Subject: [PATCH] Enabled Wipe menu option :toilet: --- source/HUD.hx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/HUD.hx b/source/HUD.hx index e3a6fc4..83a81ee 100644 --- a/source/HUD.hx +++ b/source/HUD.hx @@ -150,7 +150,6 @@ class HUD extends FlxTypedGroup // DEBUG FlxG.watch.add(this, "_menuOption", "Menu Index"); - FlxG.watch.add(_sprThoughts.animation, "curAnim"); FlxG.watch.add(_sprInteraction, "alpha", "Interact Alpha"); FlxG.watch.add(_sprInteraction, "visible", "Interact Visible"); FlxG.watch.add(_tmpText, "text", "Temp Text"); @@ -269,7 +268,7 @@ class HUD extends FlxTypedGroup // WIPE case 6: - // + wipeGel(); // CONFIG case 7: @@ -301,6 +300,13 @@ class HUD extends FlxTypedGroup _sprInteraction.fadeOut(2, itemLeave); } + private function wipeGel():Void + { + itemJoin("W"); + _gel.Wipe(); + _sprInteraction.fadeOut(2, itemLeave); + } + private function itemJoin(letter:String = ""):Void { _sprInteraction.visible = true;