mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
WIP flux reactor
This commit is contained in:
parent
df7a0f46b1
commit
2bc000f53c
16 changed files with 273 additions and 19 deletions
|
|
@ -1202,6 +1202,15 @@ public class Fx{
|
|||
}
|
||||
}).startDelay(30f),
|
||||
|
||||
fluxVapor = new Effect(140f, e -> {
|
||||
color(e.color);
|
||||
alpha(e.fout() * 0.7f);
|
||||
|
||||
randLenVectors(e.id, 2, 3f + e.finpow() * 10f, (x, y) -> {
|
||||
Fill.circle(e.x + x, e.y + y, 0.6f + e.fin() * 5f);
|
||||
});
|
||||
}).layer(Layer.bullet - 1f),
|
||||
|
||||
vapor = new Effect(110f, e -> {
|
||||
color(e.color);
|
||||
alpha(e.fout());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue