mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-16 03:43:36 +00:00
Add missing constants
This commit is contained in:
parent
9908f973cf
commit
250ec840ef
|
@ -37,7 +37,7 @@ class Strumline extends FlxSpriteGroup
|
||||||
|
|
||||||
static function get_RENDER_DISTANCE_MS():Float
|
static function get_RENDER_DISTANCE_MS():Float
|
||||||
{
|
{
|
||||||
return FlxG.height / 0.45;
|
return FlxG.height / Constants.PIXELS_PER_MS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -160,7 +160,7 @@ class SustainTrail extends FlxSprite
|
||||||
*/
|
*/
|
||||||
public static inline function sustainHeight(susLength:Float, scroll:Float)
|
public static inline function sustainHeight(susLength:Float, scroll:Float)
|
||||||
{
|
{
|
||||||
return (susLength * 0.45 * scroll);
|
return (susLength * Constants.PIXELS_PER_MS * scroll);
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_sustainLength(s:Float):Float
|
function set_sustainLength(s:Float):Float
|
||||||
|
|
Loading…
Reference in a new issue