Showing posts with label torches. Show all posts
Showing posts with label torches. Show all posts

Wednesday, 27 March 2013

Dark Rooms

Dark rooms act as an add on to your game. It gives the player a bit of excitement. Dark rooms cannot be interacted with until the player is carrying a lit torch or light source. When the player is carrying one of these they can see the description of the room and the objects it holds. Without a torch of light source you won't be able to interact with that room. You can move around while in a dark room, but you can't see.
To do this we must think of a name for our room, give a description. If you don't know how to do this look in the blog archive on the right of the screen and find a section on rooms.

Mine will be ........

Study Room is a room. "You are in the study room, you are surrounded by lovely books, old and young. There is a desk on which another thicker book is lying. To the west is another passage."

This is a room you can see. But to make it a dark room you must add this.

Study Room is a dark room.

Put this after you have explained it is a room. You must now make a torch. My torch will be a lantern. I suggest putting this in the room before this one, as the player can pick it up. If you put it in the dark room it won't be a dark room any more.

A Lantern is in Hallway. A Lantern is lit. 

Or

A Lantern is in Hallway. A Lantern is unlit.

The player will not be able to light the unlit light source. So I suggest having any Light Source lit at all times in the game.

Hope this helped you in your text adventure.

Thanks,
danielfrogs