editor guide — board editor
Board Basics
Around The Editor
[ New Board Window | Left-hand Toolbar | Right-hand Toolbar | Properties | Menus ]
Vector tutorial
The board editor may be broken down into a number of sections: the New Board screen, the Board and Properties tabs, the left-hand toolbar, the right-hand toolbar and the menus.
New Board screen
After opening the board editor (see Editor Environment for ways to do this), you will be presented with the 'New Board' options window, which allows you to specify the properties of the new board.
- The option buttons allow you to either choose a new set of parameters or to load a pre-existing board - for instance, you could create a template board with a number of common properties and specify it here.
- The coordinate system choices specify the grid and perspective of the board; see the Board Basics page for a description of the choices. Once the coordinate system is set you cannot alter it, except to upgrade from isometric stacked to rotated, or from tile to pixel (see Menu below).
- The X and Y dimensions are always specified in tile values, even if the 'Use pixel coordinates' option is ticked. The resulting pixel dimensions of the board are specified below the tile dimensions.
- The Background Image may be any type of non-tile image file, and is drawn below the first layer of tiles.
- This window remembers all its settings, so if you tick the 'Do not show this form on startup' box, a new board will be automatically created with the last set of parameters. To reshow the form, choose the relevant option in the Board > Preferences... menu.
Board Tab
After selecting 'OK' on the New Board window, a black area will appear in the middle of the screen (unless a background image or pre-existing board was selected!); this is the board showing its default background colour.
Left-hand Toolbar
The toolbar on the left-hand side contains the tools used to draw and edit the various objects placed on the board. Each button has a keyboard shortcut key, denoted in brackets.
The first is a set of general tools:
Grid On/Off (G) - Toggles drawing of the tile grid. | |
Undo (Ctrl+Z) - Undoes the last user operation. Only the most relevant operations are undoable; a multiple-undo stack is maintained, so multiple operations up to a particular number can be undone. | |
Toggle Auto-Tiler (H) - Auto-Tiling is an option found in some RPG makers that uses specially drawn and arranged tilesets to make the task of creating bounded tile areas simpler. To use this feature you must have an auto-tile tileset open. This option turns auto-tiling on or off - turned off, you can place auto-tiles normally, when turned on any tiles placed form enclosed areas dependent on their neighbouring tiles. Auto-tilesets must either be downloaded or created using the "Auto-Tiler" tool - follow this link for more information. |
The second group of tools are associated with creating and editing each particular object type. The buttons are interlinked so that only one can be selected at any one time. The specific action on each object is then determined by the selected button in the third group. When one of the last six buttons is selected (vector to lighting), the currently selected object of that type is highlighted on the board, indicated either by a thick line for vectors or a bounding box for sprites and images.
Scroll board (Q) - Allows the board to be scrolled using the mouse
buttons. Left-click and hold (LMB) on the board and drag the mouse to scroll the board.
Tip: Scrolling can also be achieved at any time by using the mouse wheel. Scrolling the wheel causes either horizontal or vertical scrolling; clicking the middle mouse button/wheel (MMB) switches between horizontal or vertical scrolling. The Scroll board tool need not be selected to do this. |
|
Zoom (W) - Allows the board to be zoomed in or out. LMB zooms in,
right-click (RMB) zooms out. A finite number of zoom levels are provided.
Tip: Zooming can also be achieved by scrolling the mouse wheel whilst holding the Ctrl key down. The Zoom tool need not be selected to do this. |
|
Tile tools (T) - Selects tile editing. Note the current tileset can be opened in a pop-up browser by pressing the 'L' key. | |
Vector tools (V) - Selects vector editing (including collision and waypoint, excluding program). | |
Program tools (P) - Selects program vector editing (excluding threads). | |
Sprite tools (S) - Selects sprite (item) editing. | |
Image tools (I) - Selects image editing (excluding background image). | |
Shading tools (Y) - Selects tile shading editing (excluding ambient levels and lighting). | |
Lighting tools (U) - Selects light editing (excluding ambient levels). |
The third is a group of generic tools whose function and action depend on the selected button of the second group. Note: when the selected button in the second group is changed, the selected tool in the third group defaults to Draw. Not all tools are applicable to all objects, those that are not are disabled when the object's button is selected.
Draw (D) | |
|
|
Select (A) | |
|
|
Flood (F) | |
|
|
Erase (E) | |
|
|
Rectangle (R) | |
|
|
Dropper (O) | |
|
The fourth group of tools control the visibility of the board.
Current layer - Selects the current layer, onto which tiles, vectors, programs, sprites, items and images are drawn. | |
Toggle visible layers - A list of layers and their visibility status. An asterisk next to a layer number indicates the layer as visible. Click a layer on the list to toggle its visibility. The current layer cannot be hidden. 'B' denotes the background image. | |
Hide all layers except current (J) - Overrides the visible layers list. | |
Show all layers (K) - Overrides the visible layers list. | |
Selected tile - Click on the box to change the selected tile. Possible types that can be placed are *.tst, *.iso, *.tan (animated tile) and *.tbm (tile bitmap). |
[ top ]
Right-hand Toolbar
The right-hand toolbar contains three permanent buttons that are described on the Editor Environment page. When the board editor is open, a fourth
button appears - this is the Board Toolbar, and displays the properties of all the objects
on the board.
The toolbar has five tabs, one for each object group: vectors, programs, sprites, images and
lighting. Selecting one of these tools from the left-hand toolbar causes the matching tab to be
shown on the Board Toolbar. The first four tabs contain a drop-down box listing all the current
objects of that type on the board. The properties of the selected object are then displayed in
the panel below. Each of the first four tabs also contains a checkbox to toggle whether the
objects of that type are displayed in the board editor, and a 'Delete' button to erase the
currently selected object. The currently selected object is highlighted if the object type's
button is selected in the left-hand toolbar. If no objects of the type exist, all controls on the
tab are disabled.
Tip: The Board Toolbar can be hidden or shown using the Ctrl+B shortcut. The tileset toolbar can be hidden or shown using Ctrl+L. A pop-up tileset browser can also be displayed by pressing L when the board has the focus.
Vectors (Alt+V)
|
Programs (Alt+P)
|
Sprites (Alt+S)
|
Images (Alt+I)
|
Lighting (Alt+L)
The lighting tab contains information for both tile shading and lighting.
|
[ top ]
Properties Tab
The properties tab displays miscellaneous attributes of the board not associated with the objects listed above.
- Directional links: When the player reaches the edge of a board they may move to a new location. One way of doing this is to specify a directional link for that edge of the board; one textbox is provided for each edge or direction. A program may instead be run when the player reaches the edge. Click the '...' button to browse for a board or program file, and the blank button to open the file, if it exists.
- Background image: Specify a non-tile image for the background; click the '...' to browse for a file (files must be located in the 'Bitmap\' folder or subfolders therein.
- Background color: The colour of the board beneath the background image and tiles, defaulting to black. Click the '...' to select a colour.
- Background music: Specify a music file that plays and loops for the duration the player is on the board; click the '...' to browse for a file (files must be located in the 'Media\' folder or subfolders therein.
- Threads: As mentioned in Board Basics, threads are programs that are run in the background of the game and allow gameplay to continue whilst they execute, in contrast to other programs. A set of board threads may be specified here that are launched when the board is entered and terminated when the board is left, unless they have already done so. Use the 'Add...' and 'Remove' buttons to create or delete board threads, and the 'Open' button to open the selected file, if it exists.
- Dimensions: Width and Height describe the dimensions of the board in tiles at all times. The coordinate system types are displayed but cannot be altered (except through the menu option, see below).
- Constants: Two arrays of RPGCode constants may be defined on a board. One is a set of generic constants that can be used to hold any data, entitled 'constant[x]' where x is a number (see RPGCode Reference). The second is a set of strings that may hold the names or titles for each layer (but may hold anything else you need), entitled 'boardtitle[x]' where x is a number. To create a new constant, select the blank entry from the end of the drop-down list. The number of boartitle[] constants is fixed to the number of layers (when changing the number of layers, switch back to the Board tab to update this list). The value of the selected constant is displayed in the accompanying textbox.
- Battle settings:
- Enable fighting on this board: Check this box to allow random battles to occur at the frequency or probability determined in the Main File Editor.
- Board skill: Sets the skill level of enemies encountered during random battles, as assigned to enemies in the Main File Editor.
- Battle background: The .bkg background file to display when running random battles.
- Disable progress saving: one can prevent players from saving their game on the current board by enabling this option - for instance, if you don't want them to be able to save during a series of battles. With this option enabled, the "Save" option in the default menu is inactive.
- Program to run when entering board: set this if you want a program to run as soon as the player steps onto the board, before he is allowed to move. Note that any board threads are launched before this program is run.
- Ambient RGB: A uniform shade that is applied to the board. These values combine additively with the global Ambient Level applied through setAmbientLevel(). Individual red, green and blue values are specified in the range -255 to +255, where negative numbers darken and positive numbers lighten the scene. Useful for creating dark rooms, for instance.
[ top ]
Menus
Edit
- Undo (Ctrl+Z): Undoes the last action; a multiple undo stack is provided storing a certain number of previous changes. Not all operations are undoable.
- Redo (Ctrl+Y): Redoes an Undo action.
- Copy (Ctrl+C): Copies the selected object to the board clipboard. A selection of the desired object(s) must be made using the Selection tool on the left-hand toolbar. The object type corresponding to the selected object button on the left-hand toolbar is copied. Groups of tiles and shades can be copied, or whole vectors, programs sprites and images. Partial vectors (point groups) and lights cannot be copied. In addition, text in textboxes can be copied, cut and pasted from outside the editor.
- Cut (Ctrl+X): Cuts the currently selected object.
- Paste (Ctrl+V): Pastes the current object on the clipboard.
- Select All (Ctrl+A): Creates a selection box around the current object, or around the whole board (in tile or shading mode).
Board
- Preferences (Ctrl+F): Board editor preferences applied to all boards.
- Color options: Lists the colours used to display particular objects in the editor. Click the colour itself to choose a new colour.
- Revert to draw after flooding: After flooding tiles or shades, the current tool switches to Draw.
- Show vector indices: Draw numbers by the points of vectors.
- Use recursive flooding: If you experience problems with the flood tool, such as tiles being erased rather than placed, enable this option. This may happen on earlier versions of Windows. Note that with this option enabled, you cannot flood large boards (approximately greater than 100x100). This option is linked to the option in the Tile Editor.
- Show New Board dialog window: Show the New Board window when opening the board editor.
- Show player start location on initial board only: display the starting location only if the board's name matches the initial board specified in the main file editor, otherwise the start locations (if defined) are displayed on each board.
- Set Player Start Location (Ctrl+D): Use this to set the location where the player will begin at the beginning of the game. Choose this option and then click the required position on the board. The location is highlighted by a cross and text detailing the chosen layer. If tile coordinates are used, the location will snap to a grid square.
- Set As Initial Board (Ctrl+G): Alters the initial board field in the main file to the current board's name.
- Convert Coordinates
- to isometric rotated (Ctrl+I): Converts isometric stacked boards to isometric rotated.
- to pixel (Ctrl+P): Converts from tile-based coordinates to pixel.
- Export Image
- Current Screen: Saves the currently visible board area in an image file. The image appears exactly as the board appears in the editor. Possible filetypes are png, jpg and bmp.
- Entire Board: Saves the entire board to an image file. The image will not include vectors, programs, gridlines, object outlines or scaling for zooming. It will include sprites, images and shading unless disabled in the Board Toolbar tabs.
[ top ]