TX/Tutorials and Guides/Editors/TileMapEditor
From TDN
Tile Map Editor
Tile Map Rollout
Description
Within this rollout, you can modify the layout of your tile map.
Usage
Once you drag a Tile Map object from the create pane into your scene, switch to the edit pane. When you have the object selected, you can modify its layout settings.
Tile Count X,Y: Determines how many individual tiles make up your map. X determines number of rows, Y determines number of columns
Tile Size X,Y: Determines the width (X) and height (Y) of each tile.
Size Object to Layer: This button will adjust the size of your tile map object to fit all of the tiles based on the above settings
Tile Editing
Description
You will use the Tile Editing rollout to perform the actual painting of tiles onto your tile map. You can pick your brush, chose your tile material, paint, fill, erase, and so on.
Usage
You must have your tile map object selected in the scene. Hover over the scene object until the menu bar pops up, then click on the edit tile map button.
Load Layer: Opens a browse dialog box to locate and load an existing tilemap layer (*.lyr) file.
Save Layer: Opens a save dialog box and accepts a new file name to save the selected tilemap layer.
Select Tool: Allows you to select one or more tiles to work with. This is helpful for deleting or replacing a group of specific tiles.
Paint Brush Tool: Paints the selected material into a Tilemap cell.
Flood Fill Tool: Paints a group of connected Tilemap cells sharing the same property as the cell selected.
Eye Dropper Tool: Selects the chosen tool and displays its properties within the selection tab.
Material: Represents the Torque X material (image) you are currently painting onto the tilemap.
Flip Horizontal: Flips the material image horizontally
Flip Vertical: Flips the material image vertically
Object Type: Assigns an existing Object Type to the tile being painted
Collision: Toggles tile collision on and off





