Added nuclear drill / Broke various things

This commit is contained in:
Anuken
2018-03-31 14:03:52 -04:00
parent c14fb51eb8
commit 8a80e82b5d
15 changed files with 439 additions and 349 deletions

View File

@@ -0,0 +1,5 @@
package io.anuke.mindustry.graphics;
public class BlockFx {
//TODO
}

View File

@@ -0,0 +1,5 @@
package io.anuke.mindustry.graphics;
public class ExplosionFx {
//TODO
}

View File

@@ -196,6 +196,14 @@ public class Fx{
});
}),
pulverizeRed = new Effect(40, e -> {
Angles.randLenVectors(e.id, 5, 3f + e.ifract()*8f, (x, y)->{
Draw.color(Color.valueOf("ffa480"), stoneGray, e.ifract());
Fill.poly(e.x + x, e.y + y, 4, e.fract() * 2f + 0.5f, 45);
Draw.reset();
});
}),
pulverizeSmall = new Effect(30, e -> {
Angles.randLenVectors(e.id, 3, e.ifract()*5f, (x, y)->{
Draw.color(stoneGray);
@@ -384,6 +392,14 @@ public class Fx{
});
}),
mineHuge = new Effect(40, e -> {
Angles.randLenVectors(e.id, 8, 5f + e.ifract()*10f, (x, y)->{
Draw.color(e.color, Color.LIGHT_GRAY, e.ifract());
Fill.poly(e.x + x, e.y + y, 4, e.fract() * 2f + 0.5f, 45);
Draw.reset();
});
}),
sparkbig = new Effect(11, e -> {
Lines.stroke(1f);
Draw.color(lightRed, Color.GRAY, e.ifract());

View File

@@ -0,0 +1,5 @@
package io.anuke.mindustry.graphics;
public class TurretFx {
//TODO
}