Minor status effect/liquid bugfixes

This commit is contained in:
Anuken
2018-04-08 10:36:49 -04:00
parent 98ec2dcf44
commit 86d5803b63
11 changed files with 27 additions and 18 deletions
@@ -102,7 +102,7 @@ public class StatusEffects {
Effects.effect(EnvironmentFx.oily, unit.x + Mathf.range(unit.getSize()/2f), unit.y + Mathf.range(unit.getSize()/2f));
}
unit.velocity.scl(1.001f);
unit.velocity.scl(0.6f);
}
@Override
@@ -38,7 +38,7 @@ public class Blocks {
deepwater = new Floor("deepwater") {{
liquidColor = Color.valueOf("546bb3");
speedMultiplier = 0.3f;
speedMultiplier = 0.2f;
variants = 0;
liquidDrop = Liquids.water;
liquid = true;
@@ -266,7 +266,7 @@ public class BlockFx {
bubble = new Effect(20, e -> {
Draw.color(Hue.shift(Tmp.c1.set(e.color), 2, 0.1f));
Lines.stroke(e.fout() + 0.2f);
Angles.randLenVectors(e.id, 3, 11f, (x, y) -> {
Angles.randLenVectors(e.id, 2, 8f, (x, y) -> {
Lines.circle(e.x + x, e.y + y, 1f + e.fin() * 3f);
});
Draw.reset();