This commit is contained in:
Yoshman29
2022-11-14 13:39:01 +01:00
parent 22197cfb0d
commit ffe4dc781c
4 changed files with 3 additions and 36 deletions
+1 -1
View File
@@ -1 +1 @@
1287
1288
-33
View File
@@ -67,12 +67,6 @@ class FreeplayState extends MusicBeatState
DiscordClient.changePresence("In the Menus", null);
#end
var isDebug:Bool = false;
#if debug
isDebug = true;
#end
// LOAD CHARACTERS
bg = new FlxSprite(0, 0, Paths.image('menus/menuDesat'));
@@ -120,33 +114,6 @@ class FreeplayState extends MusicBeatState
changeSelection(0, true);
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();
}
+1 -1
View File
@@ -122,7 +122,7 @@ class MusicBeatState extends FlxUIState implements IBeatReceiver
if (stateScript != null && !(stateScript is DummyScript))
Logs.trace('State script successfully reloaded', WARNING, GREEN);
}
call("update");
call("update", [elapsed]);
super.update(elapsed);
}
+1 -1
View File
@@ -155,7 +155,7 @@ class Paths
inline static public function font(key:String)
{
#if sys
return OpenFlAssets.getPath(getPath('fonts/$key', FONT, null));
return sys.FileSystem.absolutePath(OpenFlAssets.getPath(getPath('fonts/$key', FONT, null)));
#else
return getPath('fonts/$key', FONT, null);
#end