mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
T1 walker thing done
This commit is contained in:
parent
59be28b5eb
commit
512fbe0199
9 changed files with 89 additions and 9 deletions
|
|
@ -589,6 +589,24 @@ public class Fx{
|
|||
Drawf.light(e.x, e.y, 20f, e.color, 0.6f * e.fout());
|
||||
}),
|
||||
|
||||
hitSquaresColor = new Effect(14, e -> {
|
||||
color(Color.white, e.color, e.fin());
|
||||
|
||||
e.scaled(7f, s -> {
|
||||
stroke(0.5f + s.fout());
|
||||
Lines.circle(e.x, e.y, s.fin() * 5f);
|
||||
});
|
||||
|
||||
stroke(0.5f + e.fout());
|
||||
|
||||
randLenVectors(e.id, 5, e.fin() * 17f, (x, y) -> {
|
||||
float ang = Mathf.angle(x, y);
|
||||
Fill.square(e.x + x, e.y + y, e.fout() * 3.2f, ang);
|
||||
});
|
||||
|
||||
Drawf.light(e.x, e.y, 20f, e.color, 0.6f * e.fout());
|
||||
}),
|
||||
|
||||
hitFuse = new Effect(14, e -> {
|
||||
color(Color.white, Pal.surge, e.fin());
|
||||
|
||||
|
|
@ -1412,6 +1430,13 @@ public class Fx{
|
|||
Drawf.tri(e.x, e.y, w, 3f * e.fout(), e.rotation + 180f);
|
||||
}),
|
||||
|
||||
shootSmallColor = new Effect(8, e -> {
|
||||
color(e.color, Color.gray, e.fin());
|
||||
float w = 1f + 5 * e.fout();
|
||||
Drawf.tri(e.x, e.y, w, 15f * e.fout(), e.rotation);
|
||||
Drawf.tri(e.x, e.y, w, 3f * e.fout(), e.rotation + 180f);
|
||||
}),
|
||||
|
||||
shootHeal = new Effect(8, e -> {
|
||||
color(Pal.heal);
|
||||
float w = 1f + 5 * e.fout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue