This displays a blue pivot circle on the polygon; its location depends on the pivot option to you have selected.For example, the image could contain component parts of a single character, as with a car whose wheels move independently of the body.
Unity makes it easy to extract elements from a composite image by providing a Sprite Editor for the purpose. For information on importing and setting up sprites, see Sprites. The slider at the top right controls the zoom, while the color bar button to its left chooses whether you view the image itself or its alpha levels. The right-most slider controls the pixelation (mipmap) of the texure. Moving the slider to the left reduces the resolution of the sprite texture. The most important control is the Slice menu at the top left, which gives you options for separating the elements of the image automatically. Finally, the Apply and Revert buttons allow you to keep or discard any changes you have made. If you click on the image, you will see a rectangular selection area appear with handles in the corners. You can drag the handles or the edges of the rectangle to resize it around a specific element. Having isolated an element, you can add another by dragging a new rectangle in a separate part of the image. Youll notice that when you have a rectangle selected, a panel appears in the bottom right of the window. A border width, for left, top, right and bottom can be specified in pixels. There are also settings for the sprites pivot, which Unity uses as the coordinate origin and main anchor point of the graphic. You can choose from a number of default rectangle-relative positions (eg, Center, Top Right, etc) or use custom coordinates. If you click on the Slice menu in the control bar, you will see this panel. Sonic 2 Sprite Editor How To Deal WithThe Method menu lets you choose how to deal with existing selections in the window. The Delete existing option will simply replace whatever is already selected, Smart will attempt to create new rectangles while retaining or adjusting existing ones, and Safe will add new rectangles without changing anything already in place. This is very useful when the sprites have already been laid out in a regular pattern during creation. If you chose grid by cell count, Column Row determines the number of columns and rows used for slicing. You can also use the Offset values to shift the grid position from the top-left of the image and the Padding values to inset the sprite rectangles slightly from the grid. ![]() You can let Unity handle the rough definition of the sprite boundaries and pivots and then do any necessary fine tuning yourself. Click and drag on the green lines to create the border you want, and the values in the Border fields change.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |