xTile Engine v2.0.3

Rating: No reviews yet
Downloads: 438
Change Set: 76082
Released: Apr 13, 2011
Updated: Aug 12, 2011 by colinvella
Dev status: Beta Help Icon

Recommended Download

Application xTile203.zip
application, 268K, uploaded Apr 22, 2011 - 438 downloads

Release Notes

Tile 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.

  • Added support for custom properties at tile index level within a tile sheet.

  • 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)

Reviews for this release

No reviews yet for this release.