mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-26 06:09:02 +00:00
Allow hiding HUD on launcher builds.
This commit is contained in:
parent
729745899e
commit
7547875535
|
|
@ -578,7 +578,6 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
// TODO: Refactor or document
|
// TODO: Refactor or document
|
||||||
var generatedMusic:Bool = false;
|
var generatedMusic:Bool = false;
|
||||||
var perfectMode:Bool = false;
|
|
||||||
|
|
||||||
static final BACKGROUND_COLOR:FlxColor = FlxColor.BLACK;
|
static final BACKGROUND_COLOR:FlxColor = FlxColor.BLACK;
|
||||||
|
|
||||||
|
|
@ -2610,12 +2609,6 @@ class PlayState extends MusicBeatSubState
|
||||||
*/
|
*/
|
||||||
function debugKeyShit():Void
|
function debugKeyShit():Void
|
||||||
{
|
{
|
||||||
#if !debug
|
|
||||||
perfectMode = false;
|
|
||||||
#else
|
|
||||||
if (FlxG.keys.justPressed.H) camHUD.visible = !camHUD.visible;
|
|
||||||
#end
|
|
||||||
|
|
||||||
#if CHART_EDITOR_SUPPORTED
|
#if CHART_EDITOR_SUPPORTED
|
||||||
// Open the stage editor overlaying the current state.
|
// Open the stage editor overlaying the current state.
|
||||||
if (controls.DEBUG_STAGE)
|
if (controls.DEBUG_STAGE)
|
||||||
|
|
@ -2647,6 +2640,9 @@ class PlayState extends MusicBeatSubState
|
||||||
#end
|
#end
|
||||||
|
|
||||||
#if (debug || FORCE_DEBUG_VERSION)
|
#if (debug || FORCE_DEBUG_VERSION)
|
||||||
|
// H: Hide the HUD.
|
||||||
|
if (FlxG.keys.justPressed.H) camHUD.visible = !camHUD.visible;
|
||||||
|
|
||||||
// 1: End the song immediately.
|
// 1: End the song immediately.
|
||||||
if (FlxG.keys.justPressed.ONE) endSong(true);
|
if (FlxG.keys.justPressed.ONE) endSong(true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue