NotesTile index custom properties are accessible as follows:
// set custom property 'foo' to value 'bar' for tile index 3 of the tile sheet
tileSheet.TileIndexProperties[3]["foo"] = "bar";
// alternatively, if tile index of 'tile' instance is 3
tile.TileIndexProperties["foo"] = "bar"
// return value of property from tile sheet
string bar = tileSheet.TileIndexProperties[3]["foo"];
// or return from tile instance
bar = tile.TileIndexProperties["foo"];
All above are equivalent to:
tileSheet.Properties["@TileIndex@3@foo"] = "bar";
string bar = tileSheet.Properties["@TileIndex@3@foo"];
Setting tile index properties in tIDE: Until an interface for setting these properties is implemented (tIDE v2.0.2 or later), you can set the properties at tile sheet level using the @ notation as per the last example above.
Features
- Added support for custom properties at tile index level within a tile sheet.
Fixes
- Improved handling of relative image source paths within content pipeline processor and importer classes
ZIP archive contents
xTile202 \ Engine \ PC \ xTile.dll (Windows engine)
xTile202 \ Engine \ PC \ xTile.xml (Windows XML documentation)
xTile202 \ Engine \ X360 \ xTile.dll (Xbox 360 engne)
xTile202 \ Engine \ X360 \ xTile.xml (Xbox 360 XML documentation)
xTile202 \ Engine \ WP7 \ xTile.dll (Windows engine)
xTile202 \ Engine \ WP7 \ xTile.xml (Windows XML documentation)
xTile202 \ Pipeline \ xTile.Pipeline.dll (content pipeline extension)