> Linux Ubuntu (experimental) 76 MB > HTML5: LDtk is built around modern web standards. Why its size is so huge? Is it Electron-based? Size of Tiled [0] app binaries for each of MacOS/Win/Linux platform is 3 time smaller than LDtk's binaries. What is "modern" in differnce between LDtk and Tiled? [0] https://github.com/mapeditor/tiled/releases
Why does it matter? At all? Is anyone really pushed for 76MB?
LDtk: A modern and open-source 2D level editor
11–20 of 56 posts
Re: LDtk: A modern and open-source 2D level editor
#12Earlier quoted context omitted.
Why does it matter? At all? Is anyone really pushed for 76MB?
Because Tiled is a very mature 2D tilemap editor with quite a few features, so if a new product comes on the market that is three times bigger then an obvious question is "what does this have to offer that the older, smaller program doesn't?"
Re: LDtk: A modern and open-source 2D level editor
#13Are all of these using Kha - so called "SDL but super-charged"? Or are there even more great graphics libraries for Haxe?
(Also, I found LDtk on a four month old HN post less than three hours ago, and now it's front page. I'm not the one who submitted it. My connection to the hive mind must be a good one.)
Re: LDtk: A modern and open-source 2D level editor
#14Thanks, this looks really cool. I wonder what kind of algorithm and tilesets are needed to achieve what we see in the first two animated gifs on right side. The second gif seems to be sort of 2D LOD -- once the designer zooms out a different layer is shown instead of the tiles. I think this can be achieved by preparing one set of tileset for detail editing and one for zoomed out views and switch between them. However…
The algorithm is called Wang Tiles. I think you identify a set of tiles which have edges compatible with each other by coloring them. Every time you place a tile, it will pick a random tile that meets all edge constraints.
Re: LDtk: A modern and open-source 2D level editor
#15> Linux Ubuntu (experimental) 76 MB > HTML5: LDtk is built around modern web standards. Why its size is so huge? Is it Electron-based? Size of Tiled [0] app binaries for each of MacOS/Win/Linux platform is 3 time smaller than LDtk's binaries. What is "modern" in differnce between LDtk and Tiled? [0] https://github.com/mapeditor/tiled/releases
Why does it matter? At all? Is anyone really pushed for 76MB?
Re: LDtk: A modern and open-source 2D level editor
#16I want to talk about Haxe. Haxe is a small niche language. But I almost fell out of my chair when I saw the showcase of games written with Haxe. Quality indie games I have played myself, like Dead Cells, and this level editor is another very polished example. Even things like Pokemon Sword and Shield. What's going on here? I need to learn me some Haxe. Are all of these using Kha - so called "SDL but super-charged"? O…
The Haxe website has links to some other popular frameworks like OpenFL and HaxeFlixel: https://haxe.org/use-cases/games/
Re: LDtk: A modern and open-source 2D level editor
#17I want to talk about Haxe. Haxe is a small niche language. But I almost fell out of my chair when I saw the showcase of games written with Haxe. Quality indie games I have played myself, like Dead Cells, and this level editor is another very polished example. Even things like Pokemon Sword and Shield. What's going on here? I need to learn me some Haxe. Are all of these using Kha - so called "SDL but super-charged"? O…
Re: LDtk: A modern and open-source 2D level editor
#18I want to talk about Haxe. Haxe is a small niche language. But I almost fell out of my chair when I saw the showcase of games written with Haxe. Quality indie games I have played myself, like Dead Cells, and this level editor is another very polished example. Even things like Pokemon Sword and Shield. What's going on here? I need to learn me some Haxe. Are all of these using Kha - so called "SDL but super-charged"? O…
Dead Cells and a number of other high-quality commercial games are using Heaps: https://heaps.io/ The Haxe website has links to some other popular frameworks like OpenFL and HaxeFlixel: https://haxe.org/use-cases/games/
I look at this list and suddenly 4 of the top 10 game engines I'd consider for a personal project are from the Haxe ecosystem.
Re: LDtk: A modern and open-source 2D level editor
#19I want to talk about Haxe. Haxe is a small niche language. But I almost fell out of my chair when I saw the showcase of games written with Haxe. Quality indie games I have played myself, like Dead Cells, and this level editor is another very polished example. Even things like Pokemon Sword and Shield. What's going on here? I need to learn me some Haxe. Are all of these using Kha - so called "SDL but super-charged"? O…
[1] - https://heaps.io/ [2] - https://www.openfl.org/ [3] - https://haxe.org/use-cases/games/
Re: LDtk: A modern and open-source 2D level editor
#20Thanks, this looks really cool. I wonder what kind of algorithm and tilesets are needed to achieve what we see in the first two animated gifs on right side. The second gif seems to be sort of 2D LOD -- once the designer zooms out a different layer is shown instead of the tiles. I think this can be achieved by preparing one set of tileset for detail editing and one for zoomed out views and switch between them. However…
> However I'm not sure how to do things in the first gif. Looks like you have to prepare a few different (but visually close) tiles for one "group" (say grass/dirt/sky/etc.) and when the designer drag the mouse the editor randomly chooses one tile from each group. Still I think it's a lot more complicated than I thought. The algorithm is called Wang Tiles. I think you identify a set of tiles which have edges compatib…