Core vicinity buildup system

This commit is contained in:
Anuken
2022-04-11 12:14:17 -04:00
parent bdeef68a0b
commit 6fe71dfe9c
12 changed files with 86 additions and 16 deletions

View File

@@ -182,6 +182,22 @@ public class Fx{
}
}),
coreBuildShockwave = new Effect(120, 500f, e -> {
e.lifetime = e.rotation;
color(Pal.command);
stroke(e.fout(Interp.pow5Out) * 4f);
Lines.circle(e.x, e.y, e.fin() * e.rotation);
}),
coreBuildBlock = new Effect(80f, e -> {
if(!(e.data instanceof Block block)) return;
mixcol(Pal.accent, 1f);
alpha(e.fout());
rect(block.fullIcon, e.x, e.y);
}).layer(Layer.turret - 5f),
moveCommand = new Effect(20, e -> {
color(Pal.command);
stroke(e.fout() * 5f);

View File

@@ -72,9 +72,9 @@ public class Planets{
r.attributes.set(Attribute.heat, 0.8f);
r.showSpawns = true;
r.fog = true;
r.staticFog = true; //TODO decide, is this a good idea?
r.staticFog = true;
r.lighting = false;
r.onlyDepositCore = true;
r.onlyDepositCore = true; //TODO not sure
};
unlockedOnLand.add(Blocks.coreBastion);