mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-25 06:10:16 -04:00
change debug menu and add key for freeplay
This commit is contained in:
parent
105e3dccba
commit
d7105e8b8e
3 changed files with 8 additions and 3 deletions
source/funkin/ui
|
@ -54,7 +54,9 @@ class DebugMenuSubState extends MusicBeatSubState
|
|||
|
||||
// Create each menu item.
|
||||
// Call onMenuChange when the first item is created to move the camera .
|
||||
#if CHART_EDITOR_SUPPORTED
|
||||
onMenuChange(createItem("CHART EDITOR", openChartEditor));
|
||||
#end
|
||||
// createItem("Input Offset Testing", openInputOffsetTesting);
|
||||
createItem("CHARACTER SELECT", openCharSelect, true);
|
||||
createItem("ANIMATION EDITOR", openAnimationEditor);
|
||||
|
|
|
@ -1206,6 +1206,11 @@ class FreeplayState extends MusicBeatSubState
|
|||
// }
|
||||
#end
|
||||
|
||||
if (FlxG.keys.justPressed.TAB)
|
||||
{
|
||||
FlxG.switchState(new funkin.ui.charSelect.CharSelectSubState());
|
||||
}
|
||||
|
||||
if (controls.FREEPLAY_FAVORITE && !busy)
|
||||
{
|
||||
var targetSong = grpCapsules.members[curSelected]?.songData;
|
||||
|
|
|
@ -341,17 +341,15 @@ class MainMenuState extends MusicBeatState
|
|||
}
|
||||
}
|
||||
|
||||
#if (debug || FORCE_DEBUG_VERSION)
|
||||
// Open the debug menu, defaults to ` / ~
|
||||
#if CHART_EDITOR_SUPPORTED
|
||||
if (controls.DEBUG_MENU)
|
||||
{
|
||||
persistentUpdate = false;
|
||||
|
||||
FlxG.state.openSubState(new DebugMenuSubState());
|
||||
}
|
||||
#end
|
||||
|
||||
#if (debug || FORCE_DEBUG_VERSION)
|
||||
if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W)
|
||||
{
|
||||
// Give the user a score of 1 point on Weekend 1 story mode.
|
||||
|
|
Loading…
Add table
Reference in a new issue