Making rooms is the easiest thing you can do in Inform 7. the code consists of nothing more than: “The Castle is a room.” That single short sentence after being compiled will create a single room in a very simple and very boring IF game. Add this to the end of that sentence: “”Your view is dominated by a large, weather-beaten castle.”" and now your room has a description. Add “It is north of the Road. It is east of the Mountain Pass” and now your IF has three rooms and if you were playing it you could freely move between the them. The entire program would look like this:
The Castle is a room. “Your view is dominated by a large, weather-beaten castle.” It is north of the Road. It is east of the Mountain Pass.”
Since making maps was the simplest part of designing the game I decided to start there with the KQ de-make (KQD). I printed out a copy of the the map for KQ1:
I figured I’d just make a copy of the map and be done. It’d be super easy because I didn’t have to do anything but cut and paste. As I started to do so though and I as I looked at my map in Inform. It didn’t make a lot of sense. The map for KQ has a lot of unused space in it. Daventry is a 6 x 8 grid with 48 screens in it. Of those 48 at least 20 of them have nothing in them that the character can pick-up or interact with. In some of them random creatures might pop up but there is nothing for the player to do but admire the primitive computer art and read a couple of boxes of short, descriptive text. While this seems like bad game design, and it is, at the time what KQ was doing was completely new. This was the first PC adventure game that allowed players to walk through a world and just look at the surroundings with their eyes. Before KQ you had nothing but descriptive text. If I did copy the map as is, I’d be creating rooms in which there was nothing for the player to do. Some empty rooms make sense to create atmosphere, but having nearly half of them was too much.
Another thing you’ll notice is that the maps consists of screen capture each area of the map consists of a single image that filled the computer screen. The player moved from screen to screen traveling left, right, up, or down. This makes a lot of sense for a grid-like world. IF though doesn’t have screens and therefore is not based on a grid, the convention in IF is that the player can move in not only the four cardinal directions (N,S,E,W) but also the four ordinal directions (NE, NW, SE, SW.) If I were to use the original map in IF and add in the ordinal directions nearly every place would be accessible from the other and mapping as well as memorizing routes would become overly complicated.
I’d like to say I noticed this almost immediately and quickly corrected the problem… I was done with about 1/4 of the map before I realized I was making useless rooms and over-connecting them before I realized that this wasn’t a “good” idea. I took out the printed copy of the KQ map and started mashing rooms together, deleting others, and incorporating some rooms into larger regions (important for things later.) I went through four of five iterations of the map before I settled on the one below. As I move forward though there is no guarantee that further changes won’t be made.
The second level up is the Cloud Kingdom, the first is the mountain stairway between Daventry and the Cloud Kingdom (as well as the upper reaches of a single tree) The starting level is Daventry. CS is the Castle where the player starts. The Castle and the tan colored tiles around it were where I started making the map and still have the cardinal directions as the means of passage, this is the “developed” part of Daventry and have the right-angled roads would show that. The blue and pink regions are the two rivers in Daventry (here named Leams and Nene) the river in the east is where the gnome is located the one in the west is where the hole to the Leprechauns. GH is the witches’ gingerbread house, GP is the Goat Pen, and CF is the clover field. That should be enough to orient you. While the original game contained 48 rooms (not including interiors and the cloud kingdom) KQD only contains 34, a reduction of 31%.
With the map done the next step will be adding descriptive text to each room. I plan on ripping much of it from the original and then populating the rooms with objects and characters. Once that is done, and that is a lot. I need to create the code that will allow for the solving of puzzles, the interaction of various objects, NPCS,and the ability for the players to interact with said NPCs.
I got a lot of work ahead of me.
If you have any questions, comments, criticism, help, etc. Please do leave them in the comments I’m very new at this and I’m interested in whatever you have to say.