Skip to content
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

Add 9Slice schema #184

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Add 9Slice schema #184

merged 2 commits into from
Oct 6, 2023

Conversation

stirante
Copy link
Contributor

@stirante stirante commented Oct 6, 2023

This Pull Request introduces the 9-Slice schema for textures, a technique that allows creators to make textures that are not only scalable but also minimized in size. The 9-Slice method divides the image into nine sections:

  • 4 corners, that are not scaled
  • 4 sides, that are scaled in one axis
  • center part, that is scaled in both X and Y axis

More detailed explanation on wiki: https://en.wikipedia.org/wiki/9-slice_scaling

@DaanV2 DaanV2 added the enhancement New feature or request label Oct 6, 2023
@DaanV2 DaanV2 merged commit 7063bd8 into Blockception:main Oct 6, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants