Spinner Changes
frame independent spin up/average rpm for Auto/SpunOut CCW rotation fade in addition
This commit is contained in:
parent
b13787527a
commit
75361e21e3
|
@ -123,7 +123,6 @@ public class Spinner implements HitObject {
|
||||||
|
|
||||||
// darken screen
|
// darken screen
|
||||||
float alpha = Utils.clamp(1 - timeDiff / FADE_IN_TIME, 0f, 1f);
|
float alpha = Utils.clamp(1 - timeDiff / FADE_IN_TIME, 0f, 1f);
|
||||||
System.out.println(alpha);
|
|
||||||
if (timeDiff > 0) {
|
if (timeDiff > 0) {
|
||||||
Color c = new Color(Utils.COLOR_BLACK_ALPHA);
|
Color c = new Color(Utils.COLOR_BLACK_ALPHA);
|
||||||
c.a *= alpha;
|
c.a *= alpha;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user