DragonBones is an open source 2D skeleton animation solution, QICI Engine supports DragonBones skeleton animation data format. You can read the Get started guide to learn how to setup and use DragonBones in your project.
- Adobe Flash Professional CS6
- DragonBones 3.0, The Skeleton Animation Design Panel, a Flash Pro based extension.
- Every single frame in one layer can only carry one symbol. If your want to copy symbol, you have to create a new layer.
- You'd better convert image to symbol only once, if the same image has been converted to symbol twice, there will be two identical images exported.
- If there are different symbols in different frames of the same layer, do not process continuously, but create one more layer and edit them in different layers.
- Name every behavior frames in a layer
- Naming convention and managing floders
- Don't use non-Ascii characters
- Use 3 floders: one for part symbols, another one for main symbols, the last one for images
Export DragonBones Skeleton Animation Data
- Open DragonBonesDesignPanel from menu Window/Other Panels/DragonBonesDesignPanel
- Select Import button to import data：
- Edit imported behaviors
- Set Blending Time(sec) to 0
- Set Play Times to 1 means only once, 0 means infinite loop
- Preview all behaviors in play panel
- Select Export button to export data：
- Data Format：JSON
- Texture Format：PNG
- If exported image is too large, you can change Export Scale
- After export, we get 3 files：
- skeleton.json - animation description file
- texture.json - texture atlas description file
- texture.png - texture atlas
Import to QICI Editor Project - Solution 1:
- Modify 3 files to have same prefix name, for example: panda
- skeleton.json -> panda.ani
- texture.json -> panda.json
- texture.png -> panda.png
- Drag these 3 files to the folder of Assets/monster in Project to finish import
Import to QICI Editor Project - Solution 2:
- Select ment Tool/Import Assets：
- Drag skeleton.json, texture.json, and texture.png into Import Assets Panel, name it and click import：
After sampling, QICI Core can has much better performance for rendering skeleton animation.
- Select the imported skeleton animation resource
- In inspector panel, click Sampled button to finish sampling frames