Doors!
I've been having a time getting doors into the game over the last few weeks. After a failed attempt with the wrong methodology and several refactors I think I have it in a good place now!
Doors are special in ways unlike other actors in the game:
- They can be attacked and killed (thank Barrels for paving the way for non-creatures actors for that)
- They can be interacted with in a special user interface way.
- Other actors can cohabitate the same grid-space as an open door, something previously explicitly disallowed in the engine.
- And they also block line of sight when closed!
A ton of extra systems and refactors have gone into making these doors work, but a lot of that work is going to benefit the next goal which is other interactable actors like item chests!
| 🌐 | 🙋 | @britown@blog.brianna.town