Various tweaks

This commit is contained in:
Anuken
2020-05-26 12:59:05 -04:00
parent c1d4a4851f
commit a7c7295893
13 changed files with 688 additions and 607 deletions

View File

@@ -218,6 +218,13 @@ public class Fx{
});
}).ground(),
unitLandSmall = new Effect(30, e -> {
color(Tmp.c1.set(e.color).mul(1.1f));
randLenVectors(e.id, 6, 12f * e.finpow(), (x, y) -> {
Fill.circle(e.x + x, e.y + y, e.fout() * 3f + 0.1f);
});
}).ground(),
unitPickup = new Effect(18, e -> {
color(Pal.lightishGray);
stroke(e.fin() * 2f);

View File

@@ -71,10 +71,30 @@ public class UnitTypes implements ContentList{
cix = new UnitType("cix"){{
drag = 0.1f;
speed = 0.8f;
hitsize = 8f;
health = 130;
hitsize = 11f;
health = 140;
legCount = 6;
rotateShooting = false;
weapons.add(
new Weapon("missiles-mount"){{
reload = 20f;
x = 4f;
rotate = true;
mirror = false;
shake = 1f;
bullet = Bullets.missileSwarm;
}},
new Weapon("missiles-mount"){{
reload = 20f;
x = -4f;
rotate = true;
mirror = false;
flipSprite = true;
shake = 1f;
bullet = Bullets.missileSwarm;
}});
}};
titan = new UnitType("titan"){{