Last Modified: $Date: 2002/02/01 14:28:09 $ by $Author: ferret $


Life Room Editor

Life Room Editor

The life room editor will let you edit/create/delete a place where will leave your worms during the simulation.

Life Room Editor Create a new life room Load a life room Save the current life room Save the current life room with a specific name Select left mouse brush Select right mouse brush Select brush size Clear all except worms The Life Room Validate the current life room Unvalidate changes Show help
Click on the picture for more information

The Life Room

This big area represents the life room.
Worms can be seen, but you have no power on them, means, you cannot move them.
Right or left click on the life room will let you put some foods, walls or empty square.
Nothing can be put upon a Worm.

Ok

Pressing this button will validate the current Life Room, and will design it as the life room to use for the current simulation.
This Life Room will aslo be used for the creation of worms.

Cancel

Pressing this button will unvalidate what you have done. It will be just as if you did nothing.

Help

Will popup this help page.

Load (Load a life room)

You will be able to load a saved Life Room. The old life room will be replaced by the loaded one.
If a problem occured during loading then an error message will popup and the old life room will stay unchanged.
If there were worms on your life room, and if the loaded one is smaller then worms will be replaced, if the loaded life room is bigger then all worms that can stay where they are will, and others will be moved.
If the loaded map contains foods that are not in your current Food Map, then you will not see them.
CAUTION: Right now, you should not load or save a life room that contains worms.
Loadable life room are XML files, see the XML specification for more information.

Save (Save a life room)

You will be able to save the current life room.
If a problem occured during saving then an error message will popup.
If the current life room as no name, then a you will be asked a name before saving the file.
CAUTION: Right now, you should not load or save a life room that contains worms.
Life room will be written as XML file, see the XML specification for more information.

Save As (Save a life room as)

You will be able to save the current life room with a specific name.
If a problem occured during saving then an error message will popup.
Before saving the life room you will be asked a file name.
CAUTION: Right now, you should not load or save a life room that contains worms.
Life room will be written as XML file, see the XML specification for more information.

Create a new Life Room (Create a life room)

You will be able to create a new customised life room.
A new Window will popup:
Let you define the dimention of your life room
Width and Height must be positive integer. If you give two big numbers you can be warned that you do not have enought memory for such a big life room. If you want to create very big life room read options page, or use the command line program (with no gui).
Press the Ok button if you want to create a life room with the specified height and width. The old one will be erased.
Press the Cancel button if you do not want to create a life room with the specified height and width. The old one will stay unchanged.
Press the Help button if you want read this text.

Edit the left mouse brush (Select a type)

If you click on this button you will popup a menu that will show you what will be put on the map if you left click on it.
You will always see the Empty or Wall value, if you have created/loaded a food map you will also see all available foods.
After selecting what you want, just left click on the map.

Edit the right mouse brush (Select a type)

If you click on this button you will popup a menu that will show you what will be put on the map if you right click on it.
You will always see the Empty or Wall value, if you have created/loaded a food map you will also see all available foods.
After selecting what you want, just right click on the map.

Edit the size of the brush

If you click on this button you will popup a menu that will show you a slide bar. Moving this slide bar will change the size of the brush.
Minimum size is 1 and maximum size is 9, the size is the same for left and right click.
After selecting what you want, just right or left click on the map.

Delete all (Delete all)

You will be asked if you really want to delete all foods and walls from the current life room. Only worms will stay on the map.