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
My blog is aimed to help all people to understand and use inform 7. Inform 7 is a program which hosts an interactive fictional game. My blog will help you to code, play and publish your very own game for FREE.
Showing posts with label room. Show all posts
Showing posts with label room. Show all posts
Wednesday, 27 March 2013
Saturday, 23 March 2013
How to Create Your First Room
Now to start any basic or advaced interactive fiction you need to start witha simple room. This is one of the basic things to do in inform 7. But can be challenging for a begginer. So here is how you do it.
First thing of a name for your room.
Mine will be
A mountain top is a room.
Any room after the first will be said as below, only the first room is written like above.
A mountain top is west of lake.
The one above does not apply, the first will be your first room and anything after that will be connected to that room using any points of the compass.
Now to add a description to our first room.
A mountain to is a room. "The clear and thin air is around you. The air has got the better of you as you cannot focus. The sky is clear and you can see may birds flying arond your location. You are not qute at the peak of the mountain but your are prtty close. Down from here is he bottom of the mountain."
Remember to alwys start and end your description of a room with ' " " ' .
Be descriptive. A good game needs good descriptions.
In the description say which direction the player can go next. This is very important.
Thanks,
danielfrogs
Follow Along With New Video on Youtube, Made By Danielfrogs
First thing of a name for your room.
Mine will be
A mountain top is a room.
Any room after the first will be said as below, only the first room is written like above.
A mountain top is west of lake.
The one above does not apply, the first will be your first room and anything after that will be connected to that room using any points of the compass.
Now to add a description to our first room.
A mountain to is a room. "The clear and thin air is around you. The air has got the better of you as you cannot focus. The sky is clear and you can see may birds flying arond your location. You are not qute at the peak of the mountain but your are prtty close. Down from here is he bottom of the mountain."
Remember to alwys start and end your description of a room with ' " " ' .
Be descriptive. A good game needs good descriptions.
In the description say which direction the player can go next. This is very important.
Thanks,
danielfrogs
Follow Along With New Video on Youtube, Made By Danielfrogs
Subscribe to:
Posts (Atom)