mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-25 22:58:47 +07:00
Stash shadow draft
This commit is contained in:
parent
a1d4804fae
commit
83511368f6
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
|
||||
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
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user