Logic tweaks

This commit is contained in:
Anuken
2020-10-05 19:59:15 -04:00
parent 5cc6ac0216
commit c87f0c27b3
8 changed files with 46 additions and 6 deletions

View File

@@ -100,10 +100,9 @@ public class MendProjector extends Block{
Draw.color(baseColor, phaseColor, phaseHeat);
Draw.alpha(heat * Mathf.absin(Time.time(), 10f, 1f) * 0.5f);
Draw.rect(topRegion, x, y);
Draw.alpha(1f);
Lines.stroke((2f * f + 0.2f) * heat);
Lines.square(x, y, ((1f - f) * 8f) * size / 2f);
Lines.square(x, y, Math.min(1f + (1f - f) * size * tilesize / 2f, size * tilesize/2f));
Draw.reset();
}