TeamREPENTOGON / TeamREPENTOGON/REPENTOGON
Add a generic TrySpawnDoor method
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 345
- Forks
- 51
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 4
Description
The Room class has several methods that spawn specific doors (TrySpawnBlueWombDoor/TrySpawnBossRushDoor/etc).
I've used TrySpawnBlueWombDoor(false, true, true) to spawn a door and then updated the variant, sprite, and TargetRoomIndex as a generic spawn door method. The main problem with this is that you can't specify the door slot.
A more generic TrySpawnDoor method with the ability to specify door slot would be nice to have.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Locate the Room class and its existing TrySpawnBlueWombDoor, TrySpawnBossRushDoor, and related methods. Compare how they handle door variants, sprites, TargetRoomIndex, and door slots; done means a generic TrySpawnDoor method can spawn a door with a caller-selected slot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100