Visual fixes

This commit is contained in:
Anuken
2020-09-16 09:57:12 -04:00
parent e2a838a715
commit d015e878c8
2 changed files with 7 additions and 2 deletions

View File

@@ -39,10 +39,15 @@ public class SapBulletType extends BulletType{
Draw.reset(); Draw.reset();
Drawf.light(b.team, b.x, b.y, b.x + Tmp.v1.x, b.y + Tmp.v1.y, 15f * b.fout(), lightColor, 0.6f); Drawf.light(b.team, b.x, b.y, Tmp.v1.x, Tmp.v1.y, 15f * b.fout(), lightColor, 0.6f);
} }
} }
@Override
public void drawLight(Bullet b){
}
@Override @Override
public float range(){ public float range(){
return length; return length;

View File

@@ -303,7 +303,7 @@ public class ItemBridge extends Block{
Lines.stroke(8f); Lines.stroke(8f);
Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(-tilesize/2f); Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(tilesize/2f).scl(-1f);
Lines.line(bridgeRegion, Lines.line(bridgeRegion,
x + Tmp.v1.x, x + Tmp.v1.x,