maniator / maniator/verticopolis

[Bug]: [P3] Narrow top run at a tower edge overhangs the crane past the lot

Open
#334 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Imported from the engineering backlog (_bmad-output/implementation-artifacts/backlog.md, story crane-fix).
Priority P3 (do-first order) | Severity: low (cosmetic) | Status: open | Epic: — | Type: review-deferral | Recorded: 2026-07-06

What happened?

Ready. Narrow top-run at a tower edge can overhang the crane body past the lot. syncCrane anchors the mast over the widest run's center, but CRANE_W=128px (~11.6 tiles) with the mast near center means a run narrower than the crane flush to x=0/x=GRID.width hangs the jib over open sky. Rare (needs a <~12-tile top block flush to an edge). Bundle with the crane fix above. Clamping the body would pull the mast off the run it aligns to, only clamp pos.x when the run is near an edge. (gds-code-review, floating-crane fix.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the syncCrane entry point and inspect the handling of CRANE_W, using the crane-fix story in _bmad-output/implementation-artifacts/backlog.md for context. Reproduce a narrow top run flush to either grid edge and verify the crane body stays within the lot while the mast remains aligned to the run.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.