Breach turret done / DrawTurret & reload fixes

This commit is contained in:
Anuken
2021-12-03 12:28:13 -05:00
parent 9c9d147b95
commit 61bb4d2dac
11 changed files with 65 additions and 8 deletions

View File

@@ -1392,6 +1392,16 @@ public class Fx{
});
}),
//TODO just make it properly colored...
tungstenSpark = new Effect(23f, e -> {
color(Color.white, Pal.tungstenShot, e.fin());
stroke(e.fout() * 1.1f + 0.5f);
randLenVectors(e.id, 5, 28f * e.fin(), e.rotation, 10f, (x, y) -> {
lineAngle(e.x + x, e.y + y, Mathf.angle(x, y), e.fslope() * 5f + 0.5f);
});
}),
shootPayloadDriver = new Effect(30f, e -> {
color(Pal.accent);
Lines.stroke(0.5f + 0.5f*e.fout());