OpenSpace Editor » Skin editor
The Skin editor allows map designers to generate the skins to be applied to tiles in the Tile editor. Skins are described in depth in the The map structure tutorial.
Skins can be generated automatically in the SWFs manager. See the relative documentation for more informations.
A skin is defined by the following properties.
|id||The skin’s unique id, automatically generated by the Editor.
The s prefix stands for skin.
|className||The Class name entered in the Linkage properties of the skin sprite/movieclip during its creation in Adobe Flash; the class must be selected in the dropdown among those retrieved automatically by the SWFs manager when the SWF files containing them are loaded.|
|cache||If true, the cacheAsBitmap property of the skin is set to true; default value is false.
|hOffset | vOffset||The skin's horizontal and vertical offsets with respect to the (0,0) coordinates of the tile (see the The map structure tutorial). In case the skin is added to a tile with top elevation greater than 0, the (0,0) coordinates of the top base are taken into account for skin alignment.
These properties can be set by changing the values in the Properties panel or by dragging the skin in the preview area directly.
|title||The skin’s name displayed in the skins library.|
|keywords||The keywords that describe the skin, useful to filter the skins library. All the keywords must be separated by a comma.|
Using the Show tile mockup checkbox it is possible to show/hide a reference tile that can be useful to properly set the position that the skin will have once added to a tile using the Tile editor.
Next: Tile editor