deepnight / ldtk

Modern, lightweight and efficient 2D level editor
https://ldtk.io
MIT License
3.44k stars 192 forks source link

[Feature Request] Two simple additions to Auto-Layer Rules Assistant that would make it FAR more powerful #1146

Open pipkofanfare opened 3 days ago

pipkofanfare commented 3 days ago

These would each be improvements but they become dramatically more useful when combined.

1: Add the options "Empty Tile" (0) and "Outside Level Bounds" (null) to the "Outer IntGrid vale" selector so that rules can apply when those conditions are met.

2: Instead of making "Outer IntGrid value" a single selector, use a series of checkboxes to allow multiple values to trigger the same rule, using OR logic.

This would allow for significantly more powerful rules. For example, "when outergrid is out of map OR empty OR grass" or "when outergrid is water OR deep_water", etc.