Room builder silently overwrites a prop stamped on a big sprite's top-left cell
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start in tools/roomgen.py at Builder.put, where a stamp on a non-Floor layer replaces the existing key without any check. Reproduce by placing a prop on the top-left cell of a multi-cell sprite and confirm the sprite is dropped while its collider remains. Done when put raises or warns on a different-key replacement on a non-Floor layer, or qa_port.py flags colliders whose sprite was replaced, and the change is covered by a test.
Written by the indexing model from the issue text.
Description
Layers hold one tile per cell, and a multi-cell sprite occupies only its top-left cell. In tools/roomgen.py, Builder.put overwrites silently, so stamping e.g. a lantern on the cell where a tall landmark's sprite is anchored drops one of the two sprites while leaving the collider behind (hit while building Osaka: a bridge lantern lost its post to the Tsutenkaku sprite). Make Builder.put raise or warn when it replaces a different key on a non-Floor layer, or have qa_port.py flag colliders whose sprite was replaced.
Found while implementing #17.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devhou-se/game
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
data good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 92/100
pacocartones/free-llm-api-hub#747 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
BCStudentSoftwareDevTeam/cas#481 ·
Maintainers usually reply within 7 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Berserk-hub150/skillhawk#282 · 1 comment ·