Skip to content

Multiple Corridors#44

Open
jasonplojo wants to merge 5 commits into
masterfrom
JasonPlojo_Corridors
Open

Multiple Corridors#44
jasonplojo wants to merge 5 commits into
masterfrom
JasonPlojo_Corridors

Conversation

@jasonplojo
Copy link
Copy Markdown
Collaborator

There will now be 2 corridors in between rooms, the corridor exiting the room and the corridor that is appending to that corridor. The appending corridor will have a randomized direction, similar to the corridor exiting the room.

Known Issues

  • An error will be thrown during the tile placement if a corridor/room is outside of the board. this is due to the appending corridor, shortening the length is a quick fix.
  • Rooms that are placed on the edge of the board will be clamped down, meaning the room will decrease in size in order to fix. This results in the random puzzle room prefab to not be at the appropriate location.

Added: Method to append addition corridor to the current corridor
Needed: Tweak the position of the appending corridor to connect better
Issues: When generating tiles, get an index out of array bounds. Most likely since there is no validation check for the appending corridor being inside the board creator.
Added: Corridors now append with correct positioning resulting in maintained corridor width
Issue: Rooms with puzzles that are at the edge of the board will not create the puzzle prefab in the correct location
Issue: After the rooms and corridors have been placed on the board, at times the appending corridor will result in the corridor/room being placed outside the board. This results in an error when placing the tiles.
Removed: Debug Logs
Modified: Arrangement of statement for consistent code
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