mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-13 12:16:53 +07:00
Visual tweaks
This commit is contained in:
parent
0eaf9bc9c6
commit
a234949b8c
Binary file not shown.
After Width: | Height: | Size: 503 B |
Binary file not shown.
After Width: | Height: | Size: 513 B |
BIN
core/assets-raw/sprites/blocks/distribution/mass-conveyor.png
Normal file
BIN
core/assets-raw/sprites/blocks/distribution/mass-conveyor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 412 B |
@ -118,6 +118,15 @@ public class MassConveyor extends Block{
|
||||
Tmp.v1.set(- s/2f + clipped.getWidth()/2f*Draw.scl, - s/2f + clipped.getHeight()/2f*Draw.scl).rotate(rot);
|
||||
Draw.rect(clipped, x + Tmp.v1.x, y + Tmp.v1.y, rot);
|
||||
|
||||
for(int i = 0; i < 4; i++){
|
||||
if(blends(i) && i != rotation()){
|
||||
Draw.alpha(1f - Interpolation.pow5In.apply(fract()));
|
||||
//prev from back
|
||||
Tmp.v1.set(- s/2f + clipped.getWidth()/2f*Draw.scl, - s/2f + clipped.getHeight()/2f*Draw.scl).rotate(i * 90 + 180);
|
||||
Draw.rect(clipped, x + Tmp.v1.x, y + Tmp.v1.y, i * 90 + 180);
|
||||
}
|
||||
}
|
||||
|
||||
Draw.reset();
|
||||
|
||||
for(int i = 0; i < 4; i++){
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=bc7c6ea8654fa1d476f228a62327b2fbb0085b2f
|
||||
archash=2b64b11475b00658cd99050063e88bec31064748
|
||||
|
Loading…
Reference in New Issue
Block a user