This commit is contained in:
KadeDev
2021-03-31 16:11:14 -07:00
parent d360ed048d
commit 6b79082a70
12 changed files with 193 additions and 151 deletions

View File

@ -24,6 +24,8 @@ class MusicBeatState extends FlxUIState
override function create()
{
(cast (Lib.current.getChildAt(0), Main)).setFPSCap(FlxG.save.data.fpsCap);
if (transIn != null)
trace('reg ' + transIn.region);
@ -69,6 +71,7 @@ class MusicBeatState extends FlxUIState
private function updateBeat():Void
{
lastBeat = curStep;
curBeat = Math.floor(curStep / 4);
}