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.
Any succes with LDtk?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- DemSquirrel
- Prole
- Posts: 3
- Joined: Sun Aug 23, 2015 5:53 pm
- Location: Denmark
Re: Any succes with LDtk?
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
PS: I'm not the author of the library
- Attachments
-
- JSON.lua
- (63.44 KiB) Downloaded 492 times
-
- Prole
- Posts: 1
- Joined: Sat Mar 13, 2021 7:20 am
Re: Any succes with LDtk?
If anybody is still interested, I created this.
https://github.com/HamdyElzonqali/ldtk-love/
https://github.com/HamdyElzonqali/ldtk-love/
Last edited by HamdyElzonqali on Sat Apr 09, 2022 12:36 pm, edited 1 time in total.
Re: Any succes with LDtk?
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?
Is there anything that you can think of that didn't work as you wanted it to?
Who is online
Users browsing this forum: Google [Bot] and 2 guests