[dev] ten days left « Tidepool News

Been making some progress on cave walls in Adventure. There’s 94 “rooms” in Colossal Cave, which all have different exits (north, east, up, etc). Since the original game is text only, I need to create the dimensions of these rooms myself. I started with a fixed square room in all 94 rooms, but after walking around it because clear we needed differently shaped rooms to correspond to descriptions such as “east/west canyon.”

Until now, players could only make a room by dropping four points while walking around, then using the /path command.  To help with Adventure, I decided to move the issue KM-289 (floor/ceiling/room commands) from Milestone 5 to Milestone 4.  Three hours later, I can now type “/room 1000” to make a square room and “/room 1000 3000” to make a rectangle.

There’s a curious bug though. Sometimes the created room has an irregular shape, as though some of the drawing steps were skipped. My code literally moves the player while drawing the room (though the player doesn’t see this). At first, I thought it was because the player was hitting objects in the world, but it’s happening in clear areas.  A mystery.

| Main |

Leave a Reply

Your email address will not be published. Required fields are marked *