Improved animations (#907)
* Smoother countdown and new menu and in-game animations - Countdown digits pop in and fade out each second, with a ring of dots showing the remaining part of the second - Medley countdown uses a smoothed timer and no longer stutters - Rating popups scale in from below and drift upwards while fading out - Player scores pulse briefly at the end of a line - Pause menu fades and scales in and out - Buttons and select slides pulse briefly when they get selected - Shared easing functions and a draw transform for animations * Retrigger CI
This commit is contained in:
1 parent
602417e773
commit
e665e31f4a
17 files changed
+489
-46
No files matched your search
@@ -372,5 +372,18 @@ namespace VocaluxeLib
|
||||
|
||||
return bmp;
|
||||
}
|
||||
|
||||
public static float EaseOutBack(float t)
|
||||
{
|
||||
const float overshoot = 1.70158f;
|
||||
t -= 1f;
|
||||
return t * t * ((overshoot + 1f) * t + overshoot) + 1f;
|
||||
}
|
||||
|
||||
public static float EaseOutCubic(float t)
|
||||
{
|
||||
t = 1f - t;
|
||||
return 1f - t * t * t;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user