Latent-Arcana / project-dungeon

MIT License
2 stars 0 forks source link

Bug Fix: Wide Debris Found to Block Hall On Right Side of Room #24

Closed ClarkStraws closed 3 weeks ago

ClarkStraws commented 1 month ago

Bug Information

I found the WideDebris object spawned on the right side of the room blocking a hallway to its right.

We should look into the Floor placement rules. This is likely an issue because it's 2 wide and the floor objects are allowed to spawn anywhere inside x+1 and width-1.

Potential solution is to generate the value as x+objectWidth and width-ObjectWidth.