Hi,
I am using LevelSVG and have followed the instructions of taking a png of the TMX tilemap and placing it at 0,0 in InkScape, so I can trace the physics world around it.
This is working great, but what I would like to do is detect whether certain types of collisions are happening in certain tiles with specific properties. For example, if a collision with a bullet happens in a tile with a property of "isStalectite" I can place some particle effects and some crumbling physics bodies at that tile location.
Also, I would like to parse the tilemap for tiles with a property set, such as "isRockSpawner" and then periodically create physics objects at that position. But I am not sure how to swap between tile positions and physics co-ordinates.
I am also not sure how the instructions to position a bitmap in LevelSVG at (0,0) in Inkscape works...unless TMX tilemaps are created with an anchor at the bottom left (0,0), rather than in the centre...
Any advice appreciated.
Regards
i