@stretchhog wrote:
I've been trying to figure out what the best way would be to define certain properties on tiles in the Tiled map editor. For example certain tiles should be collidable, others consumable, others should trigger a map transition etc. In Tiled it is possible to give tiles a certain property (string, boolean etc.) which should be perfect for this case since all the logic for anything that can happen/trigger on a map is confined to Tiled.
However, in Monogame.Extended I have not found a way to get the properties from those TiledTile, they only seem to have a position and an Id.
Is there a way to get those properties or is it just not supported yet?If anyone has a suggestion on how to do it differently, it would be great :). Note that I'm using Artemis as Entity Component System so I have my own CollisionDetection and would like to keep most of the game logic in that system.
Posts: 1
Participants: 1