This commit is contained in:
Anuken 2023-01-07 14:54:15 -05:00
parent 963b96a1fb
commit f1e1eb1015

View file

@ -36,6 +36,7 @@ public class ItemBridge extends Block{
public boolean pulse = false;
public float arrowSpacing = 4f, arrowOffset = 2f, arrowPeriod = 0.4f;
public float arrowTimeScl = 6.2f;
public float bridgeWidth = 6.5f;
//for autolink
public @Nullable ItemBridgeBuild lastBuild;
@ -81,7 +82,7 @@ public class ItemBridge extends Block{
if(Mathf.zero(Renderer.bridgeOpacity)) return;
Draw.alpha(Renderer.bridgeOpacity);
Lines.stroke(8f);
Lines.stroke(bridgeWidth);
Tmp.v1.set(ox, oy).sub(req.drawx(), req.drawy()).setLength(tilesize/2f);
@ -372,7 +373,7 @@ public class ItemBridge extends Block{
Draw.rect(endRegion, x, y, i * 90 + 90);
Draw.rect(endRegion, other.drawx(), other.drawy(), i * 90 + 270);
Lines.stroke(8f);
Lines.stroke(bridgeWidth);
Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(tilesize/2f).scl(-1f);