Skip to content

fix dock overlap between agents#48

Open
avkap007 wants to merge 1 commit intoryanstephen:mainfrom
avkap007:pr/dock-spacing
Open

fix dock overlap between agents#48
avkap007 wants to merge 1 commit intoryanstephen:mainfrom
avkap007:pr/dock-spacing

Conversation

@avkap007
Copy link
Copy Markdown

@avkap007 avkap007 commented Apr 11, 2026

the two sprites currently land on top of each other while walking.
we keep a minimum gap in pixels, nudge the planned stop when a peer is too close, and retry the other direction if a walk would barely move.

we also use a wider dock track when macos reports a tiny dock width (common in sandboxed apps) and start each agent nearer opposite ends so the first walk usually spreads them out.

before --> before the change

after --> after the change

the two sprites could land on top of each other while walking. we keep a minimum gap in pixels, nudge the planned stop when a peer is too close, and retry the other direction if a walk would barely move. we also use a wider dock track when macos reports a tiny dock width (common in sandboxed apps) and start each agent nearer opposite ends so the first walk usually spreads them out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant