Rewrote hit window, score screen, fixed replays.

This commit is contained in:
Kade M
2021-06-19 15:05:22 -07:00
parent 19134e6694
commit f3cfec3ea4
13 changed files with 823 additions and 129 deletions

View File

@ -1,3 +1,5 @@
import flixel.math.FlxMath;
class HelperFunctions
{
public static function truncateFloat( number : Float, precision : Int): Float {
@ -6,4 +8,8 @@ class HelperFunctions
num = Math.round( num ) / Math.pow(10, precision);
return num;
}
public static function GCD(a, b) {
return b == 0 ? FlxMath.absInt(a) : GCD(b, a % b);
}
}