cleanup
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
1287
|
1288
|
||||||
@@ -67,12 +67,6 @@ class FreeplayState extends MusicBeatState
|
|||||||
DiscordClient.changePresence("In the Menus", null);
|
DiscordClient.changePresence("In the Menus", null);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
var isDebug:Bool = false;
|
|
||||||
|
|
||||||
#if debug
|
|
||||||
isDebug = true;
|
|
||||||
#end
|
|
||||||
|
|
||||||
// LOAD CHARACTERS
|
// LOAD CHARACTERS
|
||||||
|
|
||||||
bg = new FlxSprite(0, 0, Paths.image('menus/menuDesat'));
|
bg = new FlxSprite(0, 0, Paths.image('menus/menuDesat'));
|
||||||
@@ -120,33 +114,6 @@ class FreeplayState extends MusicBeatState
|
|||||||
changeSelection(0, true);
|
changeSelection(0, true);
|
||||||
changeDiff();
|
changeDiff();
|
||||||
|
|
||||||
// FlxG.sound.playMusic(Paths.music('title'), 0);
|
|
||||||
// FlxG.sound.music.fadeIn(2, 0, 0.8);
|
|
||||||
selector = new FlxText();
|
|
||||||
|
|
||||||
selector.size = 40;
|
|
||||||
selector.text = ">";
|
|
||||||
// add(selector);
|
|
||||||
|
|
||||||
var swag:Alphabet = new Alphabet(1, 0, "swag");
|
|
||||||
|
|
||||||
// JUST DOIN THIS SHIT FOR TESTING!!!
|
|
||||||
/*
|
|
||||||
var md:String = Markdown.markdownToHtml(Assets.getText('CHANGELOG.md'));
|
|
||||||
|
|
||||||
var texFel:TextField = new TextField();
|
|
||||||
texFel.width = FlxG.width;
|
|
||||||
texFel.height = FlxG.height;
|
|
||||||
// texFel.
|
|
||||||
texFel.htmlText = md;
|
|
||||||
|
|
||||||
FlxG.stage.addChild(texFel);
|
|
||||||
|
|
||||||
// scoreText.textField.htmlText = md;
|
|
||||||
|
|
||||||
trace(md);
|
|
||||||
*/
|
|
||||||
|
|
||||||
super.create();
|
super.create();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ class MusicBeatState extends FlxUIState implements IBeatReceiver
|
|||||||
if (stateScript != null && !(stateScript is DummyScript))
|
if (stateScript != null && !(stateScript is DummyScript))
|
||||||
Logs.trace('State script successfully reloaded', WARNING, GREEN);
|
Logs.trace('State script successfully reloaded', WARNING, GREEN);
|
||||||
}
|
}
|
||||||
call("update");
|
call("update", [elapsed]);
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ class Paths
|
|||||||
inline static public function font(key:String)
|
inline static public function font(key:String)
|
||||||
{
|
{
|
||||||
#if sys
|
#if sys
|
||||||
return OpenFlAssets.getPath(getPath('fonts/$key', FONT, null));
|
return sys.FileSystem.absolutePath(OpenFlAssets.getPath(getPath('fonts/$key', FONT, null)));
|
||||||
#else
|
#else
|
||||||
return getPath('fonts/$key', FONT, null);
|
return getPath('fonts/$key', FONT, null);
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user