prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 355 forks source link

TiledMapLoader fix for a recent update of Tiled that changed field name #724

Closed BVS3 closed 2 years ago

BVS3 commented 2 years ago

A recent update to Tiled (I think 1.8?) changed filed name "type" on an object to "class", breaking object loading that tries to parse that field for any maps saved with that version of higher. Updated TiledMapLoader to support both so objects will parse correctly in both old and new versions of Tiled.