From c8ec5935fd564f55ae3d738de81b0856a93e865b Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Fri, 6 Aug 2021 20:06:35 +0200 Subject: [PATCH] * make the song and artist text animation on songwheel closer to the original --- scripts/songselect/songwheel.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/songselect/songwheel.lua b/scripts/songselect/songwheel.lua index 154a824..1f3d426 100644 --- a/scripts/songselect/songwheel.lua +++ b/scripts/songselect/songwheel.lua @@ -368,7 +368,7 @@ function drawData() -- Draws the song data on the left panel -- Draw artist gfx.GlobalAlpha(transitionAfterscrollTextSongArtist); - gfx.Text(song.artist, 30+(1-transitionAfterscrollTextSongArtist)*20, 997); + gfx.Text(song.artist, 30+(1-transitionAfterscrollTextSongArtist)*30, 997); gfx.GlobalAlpha(1); @@ -463,14 +463,14 @@ function tickTransitions(deltaTime) end -- Song title alpha and pos - if transitionAfterscrollScale < 0.02 then - transitionAfterscrollTextSongTitle = Easing.outQuad(math.min(1, (transitionAfterscrollScale) / 0.02)); + if transitionAfterscrollScale < 0.025 then + transitionAfterscrollTextSongTitle = Easing.outQuad(math.min(1, (transitionAfterscrollScale) / 0.025)); else transitionAfterscrollTextSongTitle = 1 end -- Song artist alpha and pos - if transitionAfterscrollScale < 0.03 then - transitionAfterscrollTextSongArtist = Easing.outQuad(math.min(1, (transitionAfterscrollScale) / 0.03)); + if transitionAfterscrollScale < 0.025 then + transitionAfterscrollTextSongArtist = Easing.outQuad(math.min(1, (transitionAfterscrollScale) / 0.025)); else transitionAfterscrollTextSongArtist = 1 end