Set up sprites such as walls or floors so they stretch or repeat when you resize them, and you don’t need to create multiple sprites for different sizes.
This technique is known as 9-slicing, because it involves dividing a sprite into nine sections.
| Topic | Description |
|---|---|
| 9-slicing | Learn about creating a sprite with nine sections, so the sections stretch or repeat in different ways to keep the sprite in proportion. |
| 9-slice a sprite | Divide a sprite into nine sections for 9-slicing, and add a collision shape. |