beyond-all-reason / beyond-all-reason/RecoilEngine

Map edge blueprint placement behavior problem

Open
#1,278 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

When building next to map edge, if you hover outside of the map, nothing gets built. When doing this fast, sometimes you don't realize you didn't queue anything.

https://github.com/beyond-all-reason/Beyond-All-Reason/assets/9414375/eff6eba8-a444-4300-84ce-9eed94795b36

Here's how it should be done, example from AoE2. The building should snapping to the edge tiles, regardless of going outside of map.

https://github.com/beyond-all-reason/Beyond-All-Reason/assets/9414375/dc86cf8c-eb94-4f08-a164-5986ee48c80b

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by reproducing blueprint placement at the map edge, including hovering outside the map, then trace the placement and snapping entry points. Done means buildings queue reliably and snap to edge tiles when the cursor moves beyond the map.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.