Various tweaks
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"){{
|
||||
|
||||
Reference in New Issue
Block a user