* make the song and artist text animation on songwheel closer to the original
This commit is contained in:
parent
ef4fd55b62
commit
c8ec5935fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue