Atomixed | ||
---|---|---|
<<< Previous | Next >>> |
As you can see in Figure 1 in the section called Overview the leveleditor has two parts: The left side where all available levels are listed and the right side where you can change the properies of the selected level. At startup Atomixed scans the directorys <prefix>/share/atomix/levels and ~/.atomix/levels for level descriptions. The levels are identified by name, so if two levels found with the same name, always the first detected level is used. Because the ~/.atomix/levels is first scanned you can overwrite all predefined levels.
If you select a level in the list (with the left mouse button) the contents on the right side change. For every level you must specify a start situation (Level tab on the righ side), a molecule which must be build (Goal tab) and additional parameters (Properties tab). Level and goal editing is nearly the same, except that you can't place walls on the goal grid. In the following section only level editing is explained, differences to goal editing are explicit given. If you changed a level then a asterisk (*) is append to the level name. If you press the Save button from the toolbar, all modified levels get saved to disk.
To edit a start situation just click on the Level tab. You see a grid which displays the size of the playing field. Objects can be placed anywhere on the grid. The available objects are listed in the theme window. Open it by pressing the Theme Wnd button in the toolbar or select Theme Window from the View menu. You see something like Figure 2, note that the images may be different for you according to the actually used theme.
The principle is, that you choose your object from the theme window and place it onto the grid in the leveleditor. There are two different kinds of objects, which are on two tabs in the theme window: moveables and obstacles. Moveables are all objects you can move around during the game, normally atoms. Obstacles are all elements which cannot move, usally walls. To select a obstacle object, just click on the image. You will note that the Atom Preview change, displaying now your selected image. If you want to place a moveable you must first select a basic image for the atom from the upper image list and then the appropriate connections on the lower image list. To select more than one connection use the SHIFT or CTRL keys. If you have selected an object just click on the grid, previous placed objects will be overwritten.
On the top right corner of the theme window you can see a set of mouse functions. These functions determine what happen if you click with the left mouse button on the grid:
Set — This is the default action. The current selected object in the theme window will be placed on the grid.
Clear — The selected grid field will be cleared.
Move — This function enables you to move an object around. Click once on an object and place it with the second left mouse click at another position. Instead, you can also press the right mouse button which cancels this action.
A right click on a grid or an object in the leveleditor pops up a context menu. There are the following entrys: the left mouse button on the grid:
Copy — Copy the selected object into the theme window.
Cut — Like copy but also clears the field.
Clear — Just clears the field and leaves the selected theme window object untouched.
Copy Goal — Makes a copy of the current goal grid contents and lets you place it on the grid. Move it around and press the left mouse button to place it on the grid. To cancel this action press the right mouse button. Note: This is of course not available in the goal editor.
Clear Grid — Clears the whole grid at once. There is a "Do you really want to clear the grid?" dialog.
On the Properties page you can adjust additional parameters of a level:
Name — The name of the level as shown in the list of available levels or finally in the game.
Themename — The name of the theme to use. You can choose one of the available themes from the dropdown list.
Filename — The filename for the storage of the level informations.
Time — The amount of time you want to spent for finishing this level.
This is a very easy task. Select a level in the list on the left side and use the Up/Down buttons to move it through the list.
To create a new level press the New button in the toolbar or select New File from the File menu. A dialog appears where you can set the inital settings for this new level:
Levelname — Name of the level.
Filename — The name of the file to store the level. This must end with .atomix.
Themename — The name of the theme to use for this level. You can choose one of the existing ones.
Playfield Size — Initial grid size of the playfield.
Goal Size — Same as previous only for the goal.
To add an already exisiting level, which atomix doesn't found yet use the Open button of the toolbar or choose Open... from the File menu. You can choose a *.atomix file, which will be appended to the list of levels.
<<< Previous | Home | Next >>> |
Overview | Themeeditor |