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

    DragonBones

Create skeletal animation resources

Using DragonBones skeleton animation resources in a scene requires two steps:

  1. 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:

      DragonBones

    • from the Explorer drag the skeleton animation resources to scene:

      DragonBones

    • Drag the skeletal animation resource from the Explorer to the Dragon Asset attribute of the DragonBones component that has been created:

      DragonBones

  2. Set Atlas for DragonBones Components

    Drag the Atlas data from the Explorer to the Dragon Atlas Asset property of the DragonBones component:

    DragonBones

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.

results matching ""

    No results matching ""