From c442e23b1c8f2fb6bbfa43197fe284fa41a02306 Mon Sep 17 00:00:00 2001 From: Kade M Date: Tue, 6 Jul 2021 14:13:59 -0700 Subject: [PATCH] freaky preloading shit and music --- source/OptionsMenu.hx | 1 + source/TitleState.hx | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/source/OptionsMenu.hx b/source/OptionsMenu.hx index c46f81e..62d3091 100644 --- a/source/OptionsMenu.hx +++ b/source/OptionsMenu.hx @@ -59,6 +59,7 @@ class OptionsMenu extends MusicBeatState new ScoreScreen("Show the score screen after the end of a song"), new ShowInput("Display every single input in the score screen."), new Optimization("No backgrounds, no characters, centered notes, no player 2."), + new GraphicLoading("On startup, cache every character. Significantly decrease load times. (HIGH MEMORY)"), new BotPlay("Showcase your charts and mods with autoplay.") ]), diff --git a/source/TitleState.hx b/source/TitleState.hx index 0651cbd..922570c 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -67,16 +67,7 @@ class TitleState extends MusicBeatState trace("Loaded " + openfl.Assets.getLibrary("default").assetsLoaded + " assets (DEFAULT)"); } - PlayerSettings.init(); - #if windows - DiscordClient.initialize(); - - Application.current.onExit.add (function (exitCode) { - DiscordClient.shutdown(); - }); - - #end curWacky = FlxG.random.getObject(getIntroTextShit()); @@ -93,14 +84,8 @@ class TitleState extends MusicBeatState trace('NEWGROUNDS LOL'); #end - FlxG.save.bind('funkin', 'ninjamuffin99'); - - KadeEngineData.initSave(); - // var file:SMFile = SMFile.loadFile("file.sm"); // this was testing things - - Highscore.load(); #if FREEPLAY FlxG.switchState(new FreeplayState());