Add shadow
BIN
core/assets-raw/sprites/blocks/turrets/arc-cell.png
Normal file
|
After Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 382 B |
BIN
core/assets-raw/sprites/blocks/turrets/cyclone-cell.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/duo-cell.png
Normal file
|
After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 529 B |
BIN
core/assets-raw/sprites/blocks/turrets/fuse-cell.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/hail-cell.png
Normal file
|
After Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 489 B |
BIN
core/assets-raw/sprites/blocks/turrets/lancer-cell.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 1.2 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/meltdown-lecc.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/ripple-cell.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/salvo-cell.png
Normal file
|
After Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 1.1 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/scatter-cell.png
Normal file
|
After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 854 B |
BIN
core/assets-raw/sprites/blocks/turrets/scorch-team.png
Normal file
|
After Width: | Height: | Size: 316 B |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 461 B |
BIN
core/assets-raw/sprites/blocks/turrets/spectre-team.png
Normal file
|
After Width: | Height: | Size: 597 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/swarmer-team.png
Normal file
|
After Width: | Height: | Size: 534 B |
|
Before Width: | Height: | Size: 893 B After Width: | Height: | Size: 941 B |
BIN
core/assets-raw/sprites/blocks/turrets/wave-team.png
Normal file
|
After Width: | Height: | Size: 918 B |
|
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 1.2 KiB |
@@ -111,6 +111,9 @@ public class PointDefenseTurret extends Block{
|
|||||||
@Override
|
@Override
|
||||||
public void draw(){
|
public void draw(){
|
||||||
Draw.rect(baseRegion, x, y);
|
Draw.rect(baseRegion, x, y);
|
||||||
|
Draw.color(Color.toFloatBits(0, 0, 0, 0.22f));
|
||||||
|
Draw.rect(region, x - (size / 2f), y - (size / 2f), rotation - 90)
|
||||||
|
Draw.color();
|
||||||
Draw.rect(region, x, y, rotation - 90);
|
Draw.rect(region, x, y, rotation - 90);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,9 @@ public class TractorBeamTurret extends Block{
|
|||||||
@Override
|
@Override
|
||||||
public void draw(){
|
public void draw(){
|
||||||
Draw.rect(baseRegion, x, y);
|
Draw.rect(baseRegion, x, y);
|
||||||
|
Draw.color(Color.toFloatBits(0, 0, 0, 0.22f));
|
||||||
|
Draw.rect(region, x - (size / 2f), y - (size / 2f), rotation - 90);
|
||||||
|
Draw.color();
|
||||||
Draw.rect(region, x, y, rotation - 90);
|
Draw.rect(region, x, y, rotation - 90);
|
||||||
|
|
||||||
//draw laser if applicable
|
//draw laser if applicable
|
||||||
|
|||||||
@@ -202,6 +202,9 @@ public abstract class Turret extends Block{
|
|||||||
|
|
||||||
tr2.trns(rotation, -recoil);
|
tr2.trns(rotation, -recoil);
|
||||||
|
|
||||||
|
Draw.color(Color.toFloatBits(0, 0, 0, 0.22f));
|
||||||
|
Draw.rect(region, x + tr2.x - (size / 2f), y + tr2.y - (size / 2f), rotation - 90);
|
||||||
|
Draw.color();
|
||||||
drawer.get(this);
|
drawer.get(this);
|
||||||
|
|
||||||
if(heatRegion != Core.atlas.find("error")){
|
if(heatRegion != Core.atlas.find("error")){
|
||||||
|
|||||||