Game Development Reference
In-Depth Information
the graphic cards in a single texture, which is a lot faster than sending lots of smaller files.
Refer to the following screenshot:
The traditional way of forming spritesheets is to put sprites into specific regions on a
single image, and then identify the box regions where the individual sprites lie. These re-
gions form individual frames in the sprite animation. As you can see in the preceding
screenshot, you have six sprites arranged horizontally in two rows to form a single splash
animation. The sprites could have also been arranged in a single row or a single column; it
doesn't matter. It's just how the artist best packs the spritesheet for the animation. Unity
can handle just about any arrangement you wish to throw at it. Just set the width and
height of each texture region and the Unity Sprite Editor will do the rest.
Search WWH ::




Custom Search