Nirvana2D [RCBasic Doc]

## Nirvana2D Tile Editor

The Tile editor allows you to edit tile sets used to create tile maps in the stage editor. A tile set can have animations and tile mask which are ways of flaging tiles.

At the far left of the screen there are 2 buttons:

- Load Tileset - Loads a tile sheet into the tile set list.
  - NOTE: This will also load any existing animation and mask data for the sheet as well.
- Delete Tileset - Removes a tile set from the editor.
  - NOTE: This will remove any layer in the stage that uses this tile set.

At the top of the Tile Editor is a text field labeled "Tileset ID" where you can change the name of the Tileset. To the right of the Tileset ID field, the dimensions of the tile selected.

## Animation Editor

#1 - Tile Sheet - View and select tiles

- Movement - With the mouse hovered over the Sprite Sheet, you can use W/A/S/D to move around the sheet

#2 - Frame Panel - Select the animation frame to set

- NOTE: Must be in animate mode to change a frame from the tile sheet. Otherwise selecting a tile on the tile sheet will change the base tile to animate.

#3 - Select Base Tile - Switches to Base Tile Select Mode

#4 - Animate Tile - Switches to Animate Mode

#5 - Frame Count - Sets the number of frames in the base tile animation

#6 - Speed - Sets the frames per second the base tile animation plays at

#7 - Preview - Play the sprite animation

## Mask Editor

#1 - Mask List - Select a mask to edit

- New Mask - Create a new mask in the current tile set
- Delete Mask - Delete the selected mask

#2 - Mask ID - Change the mask ID from this field

#3 - Tile Sheet - View and select tiles

- Movement - With the mouse hovered over the Sprite Sheet, you can use W/A/S/D to move around the sheet
- Flag Tile - To flag a tile in the mask, left click the tile. To unflag a tile, Right Click on it.