mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-28 07:07:16 +00:00
freeplay optimization
This commit is contained in:
parent
34a6e16385
commit
3810662f9f
|
|
@ -527,6 +527,9 @@ class FreeplayState extends MusicBeatSubState
|
||||||
orangeBackShit.visible = true;
|
orangeBackShit.visible = true;
|
||||||
alsoOrangeLOL.visible = true;
|
alsoOrangeLOL.visible = true;
|
||||||
grpTxtScrolls.visible = true;
|
grpTxtScrolls.visible = true;
|
||||||
|
|
||||||
|
// render optimisation
|
||||||
|
_parentState.persistentDraw = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
generateSongList(null, false);
|
generateSongList(null, false);
|
||||||
|
|
@ -985,6 +988,8 @@ class FreeplayState extends MusicBeatSubState
|
||||||
{
|
{
|
||||||
clearDaCache(daSong.songName);
|
clearDaCache(daSong.songName);
|
||||||
}
|
}
|
||||||
|
// remove and destroy freeplay camera
|
||||||
|
FlxG.cameras.remove(FlxG.cameras.list[FlxG.cameras.list.length - 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeDiff(change:Int = 0, force:Bool = false):Void
|
function changeDiff(change:Int = 0, force:Bool = false):Void
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue