mirror of
https://github.com/Melon-Bread/Pet.GB
synced 2024-11-24 20:58:19 -05:00
Enabled Wipe menu option 🚽
This commit is contained in:
parent
71a97d5300
commit
6f308cea59
@ -150,7 +150,6 @@ class HUD extends FlxTypedGroup<FlxSprite>
|
||||
|
||||
// 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<FlxSprite>
|
||||
|
||||
// WIPE
|
||||
case 6:
|
||||
//
|
||||
wipeGel();
|
||||
|
||||
// CONFIG
|
||||
case 7:
|
||||
@ -301,6 +300,13 @@ class HUD extends FlxTypedGroup<FlxSprite>
|
||||
_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;
|
||||
|
Loading…
Reference in New Issue
Block a user