Tile border enhancements#6144
Open
sowelipililimute wants to merge 4 commits into
Open
Conversation
Contributor
|
🤤 yummy.. yummers.. spriters eating good today... (i'm spriters) |
Princess-Cheeseballs
approved these changes
Jul 11, 2026
Princess-Cheeseballs
left a comment
Member
There was a problem hiding this comment.
Looks good,
The massive if statement is horrific and frightening, but it's readable and optimizing it would reduce its readability for like only nanoseconds of gain.
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.
implementation
Exterior8Patch: old behaviour, up to 8 sprites on the neighbouring tilesInterior8Patch: up to 8 sprites on the current tile based on neighboursInterior4Of16: up to 4 sprites on the current tile out of 16 variants based on neighboursInterior4Of16EdgeSpritesthat holds the sprites for the 4-of-16 modecontent build failure
what it looks like
left: interior 8-patch
right: interior 4-of-16
each colour is its own image