Add tint color support for tiles and tile objects #3950 #4484
Open
YusefZahran wants to merge 16 commits into
Open
Add tint color support for tiles and tile objects #3950 #4484YusefZahran wants to merge 16 commits into
YusefZahran wants to merge 16 commits into
Conversation
|
I would love to see this feature merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #3950
Additions:
This PR introduces tinting for individual tiles through the tileset view, and tile objects for tilemaps.
Currently as of this PR, the tint color of both tiles and tile objects, and the Layer's tint color multiply together (respectively depending on type of layer). The issue thread had discussion about how the tints should affect each other, but I've implemented them to multiply - for now - as I think actually using the feature will give a better idea about how this part should be handled.
Missing:
While currently saving work fine for both tsx and json files, there's no support for exports yet (for example, exporting the tint color as modulate property for godot tiles).
Looking forward for feedback on this. :)