Misc turret sprite cleanup

This commit is contained in:
Anuken
2021-12-27 18:34:29 -05:00
parent aaaa9f408e
commit 5bb2df5b89
9 changed files with 7 additions and 4 deletions

View File

@@ -1732,11 +1732,14 @@ public class Fx{
}),
lancerLaserChargeBegin = new Effect(60f, e -> {
float margin = 1f - Mathf.curve(e.fin(), 0.9f);
float fin = Math.min(margin, e.fin());
color(Pal.lancerLaser);
Fill.circle(e.x, e.y, e.fin() * 3f);
Fill.circle(e.x, e.y, fin * 3f);
color();
Fill.circle(e.x, e.y, e.fin() * 2f);
Fill.circle(e.x, e.y, fin * 2f);
}),
lightningCharge = new Effect(38f, e -> {