Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
DatasTilesets.PROPERTY_TEXTURES_CHARACTERS |
string |
<optional> |
"texturesCharacter" | Property string used for textures characters |
DatasTilesets.PROPERTY_TEXTURES_BATTLERS |
string |
<optional> |
"texturesBattlers" | Property string used for textures battlers |
DatasTilesets.PROPERTY_TEXTURES_OBJECTS_3D |
string |
<optional> |
"texturesObjects3D" | Property string used for textures 3D objects |
list |
Array.<SystemTileset> | List of all the tilesets of the game according to ID | ||
autotiles |
Object | Tilesets according to string autotiles | ||
walls |
Object | Tilesets according to string walls | ||
mountains |
Object | Tilesets according to string mountains | ||
texturesCharacters |
Array.<THREE.Material> | The textures for character | ||
texturesBattlers |
Array.<THREE.Material> | The textures for battlers | ||
texturesObjects3D |
Array.<THREE.Material> | The textures for 3D objects |
Methods
-
Read the JSON file associated to tilesets
-
Load pictures
Name Type Description pictureKind
PictureKind The picture kind texturesName
string The field name textures -
Get the autotiles textures
Name Type Description tileset
SystemTileset The tileset Returns:
Type Description Array.<THREE.Material> -
Get the mountains textures
Name Type Description tileset
SystemTileset The tileset Returns:
Type Description Array.<THREE.Material> -
Get the walls textures
Name Type Description tileset
SystemTileset The tileset Returns:
Type Description Array.<THREE.Material>