Is there a way to import a .json into gms2 as a room?
LDtk level editor
A downloadable level editor for Windows, macOS, and Linux
LDtk is a modern and open-source 2D level editor, specifically designed for indie devs.
It is based on my personal experience creating Dead Cells and making game jams.
My goal is to provide an editor that has all the important core features and to do them right, with a modern user interface/experience.
Is it free?
Yes it is :) LDtk is "pay what you want, including free".
You're totally free to try and use it without paying anything, and all the things you create with this tool are, obviously, all yours (even for commercial use). At any given time, you can still decide to contribute by paying any price you want for the app.
Super Simple export
I know: for every new tool out there, there is this moment when you need to write the importer for your favorite game engine.
I’ve been there too, so LDtk offers a Super simple export option. Enable it and you will get:
- One PNG per layer in each level
- A composite” PNG per level (ie. all layers merged together)
- A very simple, straightforward and optional JSON file per level, if you want to access your Entities data or other information.
- Easy to use: modern UI with a strong focus on ease-of-use and quality-of-life features.
- Universal and agnostic: compatible with all languages (not only Haxe) and game frameworks in the world
- JSON: easy to parse file format for any game-engine out there (I promise it’s actually really easy). Haxe isn’t required.
- Tiled export: LDtk can export Tiled TMX files for frameworks that only support this format. Note: this feature ONLY exists as a temporary method to load a LDtk project JSON in a game framework that only supports TMX files. It is recommended to just read the LDtk JSON.
- Customizable layers: Integer grid layers, Tile layers and Entity layers support
- Auto-layers: paint your collision map and see the grass, textures and all the small details being drawn automatically!
- Entities: fully customizable Entity with custom properties (ex: you can have a “Mob” entity, with a “hitPoints” field, which is an Integer limited to [0,10] bounds).
- Enums: you can define an enumeration (ex: an “ItemType” enum with “Money”, “Ammo”, “Gun” values) and use this enum in your entity custom fields.
- External enums: enums can be imported and synced directly from Haxe source code files (HX file)!
- HTML5: LDtk is built around modern web standards.
- Auto update: you get notified as soon as a stable update is released and it’s up to you to install it when you’re ready, with a single click.
- LDtk loves Haxe: a powerful Haxe API which gives you access to fully typed values from your levels. It avoids mistakes like mistyping, renaming or removals: you see errors during compilation, not at runtime. For example, having
var p = new MyLdtkProject(), you can do things like
Click download now to get access to the following files:
- 1.1.3 hot fixApr 16, 2022
- 1.1.2 - External enums & fixesApr 14, 2022
- 1.1.1Apr 04, 2022
- 1.1.0 - Introducing Super Simple export!Apr 01, 2022
- 1.0.0 - Gone gold!Mar 29, 2022
- 0.9.3 - Ludum Dare 48 editionApr 23, 2021
- 0.9.2 and 0.9.1Apr 20, 2021
- 0.9.0 - Biomes & tagsApr 16, 2021
Log in with itch.io to leave a comment.
does it work for construct 2
dus it work for gdivelop
Hi! i tried downloading it on my personal computer but my computer is a chromebook is there any way to be available on chromebooks?
Hi, There’s no Chromebook version yet. I don’t know it well: is it a Linux based platform?
I'm trying to use the program in my pc but stills like that
Yeah I have same thing last year. try change compatibility to Windows Vista Service Pack 2 on properties. if does not work Sry.
Cool, very useful ;)
Is there any chance you'll implement per-layer tinting? My tileset is currently white since I want to tint it procedurally in the game. It would be great to have an option to tint a layer so I can preview what it looks like in-game, though!
My only gripe is that the tile selector expands to cover the currently-edited level even if the tileset is very small, fitting perfectly into the sidebar as-is. It's a minor annoyance, but it does disrupt my thought process when editing. Other than that, this is a really useful tool that I've been enjoying using.
I have a personal question do you like animating if so will you ever make a animating software, anyways keep up the awesome work :D
Windows Smart screen blocked the .exe installer :/ a good option will be a portable exe .... Anyway, I just extracted the exe file and searched the app-64 folder lol
I’m in the process of signing the app (but it’s a long & expensive process). In the meanwhile, just click on the “More Info” in the Smart screen window, you’ll be able to bypass it.
why with both 32bit and 64bit in installer, this is not necessary
can you add a portable version for 64bit only?
Not necessary for you or for everyone? It's nice to have the choice for those who need it. Just as portable versions are ;)
i don't care about me, i care about useless bandwidth usage, and useless disk operations
don't ship with waste, it's never a good idea, and gives bad impression about the software, when it's too big, it is a sign of incompetence or unnecessary bloat
there are the people who care:
and the people who don't care:
ldtk: 100mb 7z (184mb for x64 unzipped)
So you would like to see 32bit and 64bit separated? Because as I said: someone might want to have 32bit version.
About the size: I'm with you, a lot of applications are way too big for what they do. Especially the ones that ship a whole Browser to execute themselves ...
Its a sad trend ... But in this case: one version: ~ 75mb second version: 30mb more - should be ok, if you can handle the 75mb download.
Right now, for faster distribution reasons, I only maintain an hybrid 32/64 bits version to maximize support for everyone. It shouldn’t affect anyone, except for some extra 30mb to download, which is… well, not that much imho.
About a portable build, yes, I’d like to have one at some point, but I need to upgrade my auto-updater to support that :)
ok so you don't care at all about the users, that's disappointing to hear only just to save 5 seconds writing the script to zip builds separately, and itch.io has API to upload releases btw, so you could save even more time if you wanted, but i doubt you want, seems you are fine with bloatware (i wouldn't mind if it was 2x 250kb like tilekit i mentioned in other comment, but here it's electron.. but that itself is an other problem, let's stick to the 2x download size issue for now)
> It shouldn’t affect anyone, except for some extra 30mb to download, which is… well, not that much imho.
each 7zip is 50mb, so you waste 50mb shipping useless bloat
50mb for one user
let's say 100k people download your app
that's 5TB of bandwidth wasted, and it's 5TB of avoidable IO operation on people's SSDs
devs need to respect me and my PC
Maybe he didn't know about that? Maybe there is some other reason? Maybe he is open to this suggestion if it's delivered in a more civilized manner?
Yes, saving space is nice, but I really appreciate that he supports both versions - even if I personally would not use 32bit version. But thanks that its there!
Maybe you need to respect devs providing FOSS a little more?
The combined installer is perfectly economically reasonable. But if the solution to your annoyance would take "5 seconds" to implement as you describe - go submit the damn PR - you've spent many times that in condescending tirades in the comments here.
> devs need to respect me and my PC
Just the opposite - no one has less of a prerogative to support "problem users" than an open source developer. Were I the maintainer, I would not be inclined to support your request for it's own sake unless you were financially supporting the project or others also raised the issue.
Very cool! Can't wait to take it or a spin. Thanks for making this FOSS! <3
Windows 7 : WHY I CAN'T RUN IT PROPERLY
Windows 10 : ":)"
Microsoft : Get windows 10
Does it support isometric graphics?
Hi, no LDtk only supports square layout grids.
The downloaded file for Windows (LDtk 0.9.3 installer.exe) apparently installed correctly under Windows 7 Pro, including a shortcut icon on the Desktop, followed by the Loading splash screen, but next was a black screen displaying just the LDtk logo top left. See screenshot. Same occurs if installing/running as Administrator.
I have this same problem on linux
Almost the same happened to me, when I execute the installer it goes straight into stalling, installs it and shows a windows that says “asset splash.html/app.html file was not found” or something in those lines, while the “main” LDtk window being transparent and over the whole screen making it impossible to close the error window with the X on the corner, thought I was able to close it by hovering over LDtk on the app bar and closing it in the small preview, but it closed LDtk overall, then if I try to open it gives no errors but happens the exact same that is happening to you, I’ve already reinstalled it 4 times but I still think is my computer,,, I’m on Windows 7 ultimate 32bits, LDtk 0.9.3 installer btw
I’ll just wait the next update :)
Weird the menu wont show up. here is the screenshot.
I have missing something?
Definitely not normal 🤔
- Did it work before?
- What version of LDtk do you use?
- Could you please check the
ldtk.log? To find it:
- press WIN+R keys
- in the folder than shows up, open the
ldtk.logand mail it to me at email@example.com
I download and install latest version.
Hey Deepnight, it looks like this might be a problem for another user that posted 2 days ago. Perhaps this is a problem that occurs on Windows 7 devices?
Hi! I just want to mention that I have this same problem (am also on Windows 7), and there isn't a ldtk.log file in the directory that you specified. I'm assuming ldtk.log is a crash log file, which would explain why it isn't there, because the program doesn't crash, it just shows an empty screen with no warnings or errors.
Would this be compatible with Game Maker Studio 2? Id love to try this.
How does any of this work?
Any way you could implement a "color" or "tint" function, per tile? I have some 1-bit tile sets that I'd love to work with, but I don't know any tile-based tools that allow arbitrary coloring, so it's hard to visualize and experiment.
is this just for level making? can we also add a player sprite?
You can create Entities with whatever property you’d need. But yes it’s a level editor, not a game engine :)
HI ! is there any unity implementation
Since it saves to JSON, you can use any JSON-to-C# converter (just google it) to create the class, then use your JSON library of choice to load the data very easily.
Perfect level editor. I hope it gets libGDX framework with Java language support. I think I can still use it though with the .tmx file export and through reading .json files.
Also you don't have to but I would like it if you would advertise the game I make ;) It will earn us both more money but feel free to say no any time.
I'm using this to make a game. It will be sold for money, and because this is absolutely godsend, I'm going to split the profit 50/50 with you via PayPal.
Even if I really appreciate your offer, I definitely cannot accept 🙂 I have very strong beliefs on this specific topic, and your game is your creation. And as such, it belongs completely to you. That’s the exact reason I went for a MIT license on LDtk, because I believe creators should earn the full profits of their hard work (not a big fan of Unreal engine business model and such) 👍
LDtk is a tool with a pay-what-you-want model, but in its spirit, it’s intended to be free. My best reward is it to be used by people to make cool games 👌
We just love free software!
PS. Infinity Falls Studio
Even though he wont accept your money from sales of your game, if you really want to give Deepnight Games some money, you could take the 50% (or whatever you want) and buy a copy of LDtk and use the "pay-what -you-want" option = you can give as much money as you want.
Amazing dude! I would love it have a version for win x86
Thank you :) Let me check if it’s possible to make a x86 build: I’ll keep you updated :)
This might sound silly but after downloading and trying LDTK out, I've dropped everything else and started learning Haxe + Heap. This map editor is just dope. Thank you man!
There is a problem: Every time the download is about to finish it throws an error. What will it be?
Anyway, I think it is a great tool, which serves both indie developers and large companies.
Is it the download from itch.io website page? If so, you might try to clear your browser cache (and downloaded files) completely and try again. It looks like some corrupted download file. Also, check that no software is blocking your download for some weird reason 🤔
This application is an absolute godsend for any developer, pixel artist and/or level designer. To get the results that this application produces on a tile by tile basis would literally take weeks. To set rules and have control on the output is not only powerful but this is a real workhorse for simply "getting the job done!"
Awesome application, you are a god amongst men lol :-)