gf-tankmen optimisation

This commit is contained in:
Yoshman29
2023-02-01 22:48:36 +01:00
parent bcb3b1271a
commit 25f49c9dab
12 changed files with 29699 additions and 80 deletions
+12 -1
View File
@@ -103,9 +103,20 @@ class MainMenuState extends MusicBeatState
if (!selectedSomethin)
{
if (canAccessDebugMenus)
if (canAccessDebugMenus) {
if (FlxG.keys.justPressed.SEVEN)
FlxG.switchState(new funkin.desktop.DesktopMain());
if (FlxG.keys.justPressed.EIGHT) {
var scr = new funkin.desktop.DesktopScreen();
var camList = [for(c in FlxG.cameras.list) c];
for(c in camList) {
FlxG.cameras.remove(c, false);
scr.addCamera(c);
}
cameras = camList;
}
}
if (controls.UP_P)
changeItem(-1);