Accessing diddy Tiled tile positions?

Monkey Forums/Monkey Programming/Accessing diddy Tiled tile positions?

Amon(Posted 2013) [#1]
Diddy renders the tilemap created in Tiled. I want to know if it is possible to access the tile positions so that I may fill a separate array with their positions??

The purpose for this is so that I may implement a few things; custom platform collision and various other things..

Ta!


therevills(Posted 2013) [#2]
Have a look in the tile.monkey and check the CollisionTile method.

Basically, you need to get the layer and then you can get the map data via layer.mapData.Get(x, y).


Amon(Posted 2013) [#3]
[edit]

Issue sorted!