MonoGame.Extended icon indicating copy to clipboard operation
MonoGame.Extended copied to clipboard

request: use DotTiled instead of current Tiled reader

Open ghost opened this issue 1 year ago • 3 comments

Hi

There are many issues regarding the Tiled map reader. Also there is now a very good (all Tiled features, more then monogame.extended provides) and very fast library to read Tiled maps:

https://github.com/dcronqvist/DotTiled

Would it be possible to use this library in MonoGame.Extended instead of the current Tiled reader?

Thx

ghost avatar Oct 16 '24 04:10 ghost

Hey @nes-girl,

This is actually something we've been discussing in the discord the past couple of days. I believe we are leaning toward doing this, though it will be a little work to get it done. DotTiled is just a tmx/tmj parser, so we'd need to fit the data presented back into how MGE handles rendering, which is another area that I'd like to have looked at to see if it can be simplified or improved any.

One of the drawbacks of using DotTiled is it becomes a dependency for MGE, which currently has zero dependencies on other libraries or frameworks. So there are a few things to consider, but it is part of the current conversation at the moment.

Going to leave this ticket open for now and we can use it to track the discussion and progress.

AristurtleDev avatar Oct 16 '24 17:10 AristurtleDev

Hello! I am the creator and maintainer of DotTiled. If you have anything you'd like to discuss regarding potential future features in DotTiled (perhaps skeleton base classes for rendering etc.), please don't hesitate to reach out or continue in this thread :)

dcronqvist avatar Nov 21 '24 20:11 dcronqvist

Thanks for reaching out @dcronqvist. I've been caught up recently working on a contract, but would love to get together at some point and discuss this.

AristurtleDev avatar Nov 22 '24 17:11 AristurtleDev