TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

Add a generic TrySpawnDoor method

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

Nobody has claimed this yet.

enhancement lua non-callback-request
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.