mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Stash shadow draft
This commit is contained in:
parent
a1d4804fae
commit
83511368f6
4 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue