Convert magic variable to Fixel Constant
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package funkin.play;
|
||||
|
||||
import flixel.math.FlxAngle;
|
||||
import flixel.FlxState;
|
||||
import funkin.ui.transition.stickers.StickerSubState;
|
||||
import flixel.addons.display.FlxBackdrop;
|
||||
@@ -733,8 +734,7 @@ class ResultState extends MusicBeatSubState
|
||||
}
|
||||
|
||||
songName.y = -songName.height;
|
||||
final DEG_TO_RAD:Float = Math.PI / 180;
|
||||
var fuckedupnumber:Float = -(songName.width * 0.5) * Math.sin(songName.angle * DEG_TO_RAD) - 10;
|
||||
var fuckedupnumber:Float = -(songName.width * 0.5) * Math.sin(songName.angle * FlxAngle.TO_RAD) - 10;
|
||||
FlxTween.tween(songName, {y: (diffYTween - 25 - fuckedupnumber) + ((blackTopBar.height - 148) / 1)}, 0.5, {ease: FlxEase.expoOut, startDelay: 0.9});
|
||||
songName.x = clearPercentSmall.x + 94;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user