MAYBE DOIN CHART SHIT?

This commit is contained in:
Cameron Taylor
2020-11-21 02:43:04 -08:00
parent 60dfebcd0c
commit 826e8b7f0a
3 changed files with 31 additions and 2 deletions

View File

@ -35,11 +35,16 @@ class MusicBeatState extends FlxUIState
updateCurStep();
// Needs to be ROUNED, rather than ceil or floor
curBeat = Math.round(curStep / 4);
updateBeat();
super.update(elapsed);
}
private function updateBeat():Void
{
curBeat = Math.round(curStep / 4);
}
/**
* CHECKS EVERY FRAME
*/