Sprite Editor – 9-Slicing
•
•
9-slicing is a 2D technique that allows the reuse of an image at
various sizes without needing to prepare multiple Assets.
–
It involves splitting the image into nine portions, so that when the
Sprite is resized, the Sprite maintains the same proportion.
–
This is useful when creating patterns, such as walls or floors in a 2D
environment.
Example:
•
•
•
•
The four corners (A, C, G and I) do not change in size.
The B and H sections stretch or tile horizontally.
The D and F sections stretch or tile vertically.
The E section stretches or tiles both horizontally and
vertically.