This commit is contained in:
Anuken
2020-06-08 10:46:19 -04:00
parent 5869b7d27e
commit 4537c4ea57
8 changed files with 48 additions and 57 deletions

View File

@@ -228,7 +228,7 @@ public class Fx{
unitLandSmall = new Effect(30, e -> {
color(Tmp.c1.set(e.color).mul(1.1f));
randLenVectors(e.id, 6, 12f * e.finpow(), (x, y) -> {
randLenVectors(e.id, (int)(6 * e.rotation), 12f * e.finpow() * e.rotation, (x, y) -> {
Fill.circle(e.x + x, e.y + y, e.fout() * 3f + 0.1f);
});
}).ground(),
@@ -1183,7 +1183,7 @@ public class Fx{
ripple = new Effect(30, e -> {
color(Tmp.c1.set(e.color).mul(1.5f));
stroke(e.fout() + 0.4f);
Lines.circle(e.x, e.y, 2f + e.fin() * 4f);
Lines.circle(e.x, e.y, (2f + e.fin() * 4f) * e.rotation);
}).ground(),
bubble = new Effect(20, e -> {

View File

@@ -212,8 +212,9 @@ public class UnitTypes implements ContentList{
immunities = ObjectSet.with(StatusEffects.burning, StatusEffects.melting);
legCount = 4;
legLength = 9f;
legTrns = 2f;
legTrns = 0.8f;
legMoveSpace = 1.4f;
legBend = 1f;
weapons.add(new Weapon("eruption"){{
shootY = 3f;
@@ -247,8 +248,10 @@ public class UnitTypes implements ContentList{
rotateShooting = false;
legExtension = -15;
legBaseOffset = 10f;
landShake = 0f;
landShake = 2f;
legSpeed = 0.1f;
legBend = 0.3f;
rippleScale = 2f;
for(boolean b : Mathf.booleans){
weapons.add(