Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
With this PR I'd like to add support for dynamic auto-tiling.
And by that I mean that layers who are auto-tiled depending on another int grid layer, will now have their tiles automatically updated whenever the values of the corresponding
IntGridCell
are changed.You can see this in action in the screencap below, which happens to be captured from the new
autotile
example that I've also added to this repo.This is for now a draft PR and a request for feedback.
In particular, I would ideally like some maintainer to help me with the following questions.
EnableAutoLayer
)? In the case of the latter, should the marker be added to all newly spawned auto layers by default, or should the user opt-in to this functionality?LayerMetadata
. Do you agree? Or even better in a new component, since this only concerns int grid layers.The implementation itself is also a work in progress, after we settle on the above I'd like to do some refactoring and maybe also add some tests if it makes sense.