Page 1 of 1

Any succes with LDtk?

Posted: Mon Feb 08, 2021 11:22 am
by DemSquirrel
I was wondering if there was an easy way to use exported maps from https://ldtk.io/ in love2d?

It's just json but it would be nice if there were a simple library or something to use with it.

Re: Any succes with LDtk?

Posted: Mon Feb 08, 2021 12:32 pm
by Tabaqui
Hi! In the attachments you can find a library that can read/write JSON files pretty easily.

PS: I'm not the author of the library :crazy:

Re: Any succes with LDtk?

Posted: Sun May 16, 2021 11:46 pm
by HamdyElzonqali
If anybody is still interested, I created this.
https://github.com/HamdyElzonqali/ldtk-love/

Re: Any succes with LDtk?

Posted: Thu Jul 15, 2021 6:16 am
by tducasse
Thanks Hamdy, this looks great! I was trying to choose between Tiled and Ogmo, and I started writing a library to parse Ogmo maps, but then I discovered LDtk, and I'm happy to see that there's already a Love library for it!

Is there anything that you can think of that didn't work as you wanted it to?