Core vicinity buildup system
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user