mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
commit
3be1056e35
|
@ -162,7 +162,8 @@ class LoadingState extends MusicBeatSubState
|
|||
{
|
||||
targetShit = FlxMath.remapToRange(callbacks.numRemaining / callbacks.length, 1, 0, 0, 1);
|
||||
|
||||
loadBar.scale.x = FlxMath.lerp(loadBar.scale.x, targetShit, 0.50);
|
||||
loadBar.setGraphicSize(Std.int(FlxG.width * targetShit), loadBar.height);
|
||||
loadBar.updateHitbox();
|
||||
FlxG.watch.addQuick('percentage?', callbacks.numRemaining / callbacks.length);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue