14 hours ago · 6 min read1124 words · Tech · 0 comments

Hello, loves! With Content in good enough shape, I think doors can be next on the agenda. (I delete 235 lines from this article.) Somewhere in the code, the program has at least a vague understanding of the borders between rooms, because we draw walls between adjacent rooms: As things stand, Intrepid Adventurer Dot can walk freely between rooms, but cannot walk into the open space shown as black in the picture above. We need a door scheme, something like this: Things that look like walls are usually impermeable and cannot be walked through. Certain cells on the border between two rooms are “doors”. There will generally be exactly one door between any two adjacent rooms. A door can have a number of appearances, ranging from an obviously open passageway to something that looks like a door … and even possibly something that looks like a wall. Doors will have at least an open state and a closed state and may have at least two visible appearances associated with state. As always, expect…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.