DragonBones
DragonBones skeleton animation resources are data formats that exported by DragonBones editor (Support for DragonBones v5.6.2 and below).
Import DragonBones skeleton animation resources
DragonBones skeleton animation resources are:
- .json/.dbbin skeletal data
- .json Atlas data
.png Atlas texture
Create skeletal animation resources
Using DragonBones skeleton animation resources in a scene requires two steps:
Create a node and add the DragonBones component, which can be implemented in three ways:
The first way: from the Explorer drag the skeleton animation resources to level manager:
from the Explorer drag the skeleton animation resources to scene:
Drag the skeletal animation resource from the Explorer to the Dragon Asset attribute of the DragonBones component that has been created:
Set Atlas for DragonBones Components
Drag the Atlas data from the Explorer to the Dragon Atlas Asset property of the DragonBones component:
Stored in the project
In order to improve the efficiency of resource management, it is recommended to import the resource file stored in a separate directory, do not mix with other resources.