First, spine use
Research 2D Skeletal animation, cyou friend introduced me spine this tool, developed from Esotericsoftware of a special 2D animation software, network information is very little, I this from the perspective of Dabbler art technology to briefly use the tutorial.
There are several nice places to stay:
1, the art before the preparation of the map for a bunch of small slices of the map. Do not have to be a piece of atlas,spine will do this step, see step Seven,
When the data is exported, the tiles are dynamically merged into the same to N Atlas, and the merged strategy takes into account the size of the atlas that we set.
2, easy to dress up and bodypart:
Spine includes bone and slots in the data structure. Where bone is both the Bone node data, the slot slot is understood to be a virtual point attached to the bone. There can be only one map slice under the same bone node or slot.
So if you need two knives on a bone, you can set up a slot on the bone to aid the implementation. However, there are some constraints:
There can only be one map under the same bone, and spine does not seem to provide a way to close the map, so it is necessary to understand that the diagram is a skeleton map.
There can be multiple graphs in the same slot, such as SLOT2, and the gray on the left indicates that the graph is now in use.
3, Draworder, you can control the rendering order of slices by dragging. For example, control the eyes to draw in front of the face.
4, can make multiple Skin,skin can meet the entire skin switch.
second, to Unity
Spine comes with a prefabricated runtime library Spine runtimes, which is a fantastic way to add code to read Spine files in your game, and then it creates animations for you. "Spine's runtime supports the current mainstream game engine Unity3d, Sprite Kit, cocos2d and more.
I import the good spine example into unity and use the API to change weapons and headers.
First taste 2D bone animation editing Tool spine