Accessing diddy Tiled tile positions?
Monkey Forums/Monkey Programming/Accessing diddy Tiled tile positions?
| ||
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! |
| ||
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). |
| ||
[edit] Issue sorted! |