Skip to content
Paul Robinson edited this page May 10, 2012 · 2 revisions

Objects

The isometric branch has the following support for object layers

  • Tile Objects (Objects which are from a tileset). These can be drawn but only if they exist on a whole tile.
  • Normal plan old rectangle objects.
  • Polygons.
  • Polylines.

For the last 3 items, they are parsed and accessible via the related methods on the TMXObject. The X and Y of these object are in Tiled pixel space, to convert to scene coordinates use a ConvertIsometricPixelToScene object.


  • Points Brief Example - A brief look at normal square objects a quick peek at points. Expect something better in future.

  • polypoints - See how to use pixel coordinates

Clone this wiki locally