Hi,
I’m starting to use monogame extended and it going great until i started adding collision detection to my game. This is well supported in tiled with objects you can overlay on each tile or alternatively create another layer of objects. Whichever method I pick, I still cannot access this data in monogame. The only workaround i’ve found is to do:
Assets.Maps["Level1"].GetLayer<TiledMapTileLayer>("Collision").GetTile(Convert.ToUInt16(position.X), Convert.ToUInt16(position.Y)).IsBlank
on the collision layer. This isn’t elegant and restricts what you can do. So i’m wondering if there is something i am missing.
Thanks