Visual fixes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user