Atomixed
<<< Previous |  | Next >>>

# Themeeditor

Figure 3 shows the themeeditor. Like the leveleditor it has a list of themes on the left side and the right side is used to edit the selected theme. Every theme contains three different kinds of imagelists:

- Moveable base image — Visualize the basic shape of a moveable. Mostly this is a coloured ball with a letter on it.

- Connection image — Visualize a possible bounding with other atoms. Each basic image can have multiple assoziated connection images.

- Obstacle image — Image for a wall, at least for an object which is not moveable during the game.

There is no limit for the number of images of each imagelist. You can reach the different lists with the `Moveables` and `Obstacles` tabs. Additional parameters, like the background color for the images, can be adjusted at the `Properties` tab.

Figure 3. Atomixed themeeditor

## Editing an imagelist

Nearly all modifications on an imagelist goes through the context menu. Just click with the right mouse button on the imagelist widget. To select multiple images hold down the CTRL while you clicking with the left mouse button. With the SHIFT key pressed you select a complete row of images. The context menu provides the following functions:

- Add Image — This opens a new dialog. Click on the `Browse...` button to choose an image. You can also add a descriptive text in the `Text` entry. Press ok to add the image to the list, otherwise cancel. Note: All images must be of the same width and height. `Atomixed` doesn't check this, but it can leads to unexpected behaviour.

- Delete Image — This deletes all selected images from the imagelist.

- Change ID — For internal processing every image in the list has a unique id. With this function you can change the id. But be careful: A level saves only the id of the image at a certain position. If you change the id of an image, it is possible that the level get corrupted. At least you see not the previous shown image at this position.

If you want to change the descriptive text attached to each image, do a slow double click on the text. Then enter your new description and press RETURN.

## Editing additional parameters

On the `Properties` page you can adjust additional parameters of a theme:

- Themename — Just the name of the theme. Be careful: Levels identify there associated theme by name, so if you change this, they don't find it anymore. But you can change this probably only for new created themes.

- Directoryname — The name of the physical directory where the theme description and all the images are stored. This isn't changeable yet.

- Background Color — Specifies the background color to use within `Atomix`.

- Selector Image — This image is needed if the user choose keyboard steering within `Atomix`. It symbolise the cursor you can move with the cursor keys. It should be something like a rectangle and of the same size as the other theme images.

- Tile Width — Not editable yet.

- Tile Height — Not editable yet.

- Animation Step — Not editable yet.

## Create a new theme

To create a new theme press the `New` button in the toolbar or select New File from the File menu. This opens a dialog where you specify the name of the new theme and the directory to store the theme stuff. The directory will be created in ~/.atomix/themes. Note: You must specify names which aren't used yet. Press `OK` if you want to create this new level, otherwise `Cancel`.

## Delete a theme

Currently it is not possible to delete a theme from within the editor. However, you can delete the appropriate directory in ~/.atomix/themes and restart `Atomixed`.

<<< Previous | Home | Next >>>
Leveleditor |  | Menus