-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime AutoRules #47
Comments
Currently, the importer does not calculate any rules, and builds tiles based on what LDtk puts together in the json's layer instances. Though it would be awesome for certain genres of games to have tiles that allow some kind of rules convention in runtime (ala destructible terrain games like Terraria), but it's a low priority for me at the moment. Not off the table though 🙂 |
One of the loaders listed on the LDtk site is this C++ one that does exactly that. Very interesting. |
@colinwilcox Would it work to somehow manually combine this with LDtkToUnity? Have you or someone else tried this? |
@max-critcrew I haven't tried it myself, in fact I've stopped using Unity, but I don't see why it couldn't be done. It only solves one part of the problem which is the rules application though, so you'd still have a lot of work to do to make your in-game editor complete. |
I want to change the tileset at runtime, such as changing the grass to dirt, is there a way to automatically change the neighbor tileset according to the autorules? Or any function I can call to get neighbor tilesets definition from my current changed one.
The text was updated successfully, but these errors were encountered: