ldtk
ldtk copied to clipboard
Request - save/load rules (rules presets?)
Hi, I was thinking that maybe there could be a default ruleset for the usual 47 tiles autotiling (like those tilesheet generated by Tilesetter). The software might generate the rules needed to obtain something similar to this https://opengameart.org/content/seamless-tileset-template-ii and then the user could be left to select the correct tile for each rule.
Saving/Loading rulesets would probably eliminate the need for such a feature as we could just share sets of rules with fellow gamedevs (again, we'd need to select the correct tile from our tilesheet afterward the rule import).
Let me know your thoughts on this one. Cheers!
Related to #2
I see the idea :) You're right, Auto-tiling (aka "wang") is a sub-case of current rule-system.
But simply using the current rule UI to do this kind of "wang" tiling would cause the rule listing to explode in size and become bloated. That's why my current plan is more to optimize the UI for the specific wang tiling scenario.
In such a case, importing existing tiling definitions would be great for sure :)
I too just ran into a use case where I would have liked to be able to save and load rules.
In one project, I was working on creating a tileset and the only level in the LDtk project is just a giant canvas where I created every possible combination of tiles to visually test out all of the rules for my tileset. Some time later I came back to LDtk to start mapping out levels. I used the template project as a starting point to create the levels, but I'd like to switch to using my own tileset now. The thing is it would take a long time to try and recreate the rules of the IntGrid I made previously.
So I'd love to be able to save an IntGrid and/or its attached Rules and be able to import them into another existing project.
Not exactly the same, but the new copy/paste from 0.10 update will make rule management much easier.