Stash shadow draft
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 738 KiB After Width: | Height: | Size: 738 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 124 KiB |
@@ -129,6 +129,9 @@ public class CraterConveyor extends Block implements Autotiler{
|
|||||||
// crater
|
// crater
|
||||||
Draw.rect(regions[7], Tmp.v1.x, Tmp.v1.y, Mathf.lerp(a, b, Interpolation.smooth.apply(1f - Mathf.clamp(cooldown * 2, 0f, 1f))));
|
Draw.rect(regions[7], Tmp.v1.x, Tmp.v1.y, Mathf.lerp(a, b, Interpolation.smooth.apply(1f - Mathf.clamp(cooldown * 2, 0f, 1f))));
|
||||||
|
|
||||||
|
// shadow
|
||||||
|
Drawf.shadow(Tmp.v1.x, Tmp.v1.y, 5f);
|
||||||
|
|
||||||
// item
|
// item
|
||||||
float size = (itemSize / 2f) + items.total() * 0.1f / (itemCapacity / 8f);
|
float size = (itemSize / 2f) + items.total() * 0.1f / (itemCapacity / 8f);
|
||||||
Draw.rect(items.first().icon(Cicon.medium), Tmp.v1.x, Tmp.v1.y, size, size, 0);
|
Draw.rect(items.first().icon(Cicon.medium), Tmp.v1.x, Tmp.v1.y, size, size, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user