Large overdrive projector

This commit is contained in:
Anuken
2020-06-03 17:23:45 -04:00
parent 6fff4ad8a1
commit 45c2cd7ac3
5 changed files with 653 additions and 627 deletions

View File

@@ -105,8 +105,8 @@ public class OverdriveProjector extends Block{
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);
Lines.stroke((2f * f + 0.1f) * heat);
Lines.square(x, y, Math.min(1f + (1f - f) * size * tilesize / 2f, size * tilesize/2f));
Draw.reset();
}