Skip to content

Latest commit

 

History

History
2 lines (1 loc) · 8.87 KB

File metadata and controls

2 lines (1 loc) · 8.87 KB

DragonBones Professional support export DragonBones,MovieClip and the sequence frame format

The export panel.png

>> Export DragonBones, said export DragonBones skeleton animation format:

  • The export location defaults to "my document" + project name, which can be manually specified by the user.

    If the zip package is exported, the package file appears in the specified output path.

    If the project folder is exported, a subdirectory with the same name as the project is created under the specified output path, which contains data files and images.

  • Matching textures support texture sets and image files. If you select a texture set, the right side displays a texture set preview, and if you select an image file, the right side is empty.

  • Data formats support json and xml。

  • The output scale defaults to 1. Users can enter values to control the scaling of exported items. (4096x4096 is the maximum size of a single texture set, beyond which the output ratio will be reduced)

  • Fill in the background color, the default is not checked. After checking, the user can click the color square on the right to open the color selection window and select the color that needs to be used as the background color.

  • Zip, unchecked by default, exports the project folder. Check to export the project file as a zip package.


export movieclip.png

>> Export MovieClip, means export MovieClip animation format:

  • The Settings and rules for exporting locations are the same as for exporting DragonBones.

  • Export to texture set is only supported.

  • The output scale setting is the same as the export DragonBones.

  • Background color Settings are the same as exported DragonBones


Export sequence frame.png

>>  Export sequence frame,Represents the exported sequence frame:

  • Texture set: sequential frame images are exported on one or more texture sets (depending on the maximum width and height of the texture set, see the texture set below).

  • Image file: each frame of animation is exported as a single image file.

  • Export content: you can choose to export all animation or current animation.

  • The output scale setting is the same as the export DragonBones.

  • Background color Settings are the same as exported DragonBones. (background color can only be set when texture set is selected, image file does not support setting background color)


>> Texture set

Select the texture set and click“set..."Button to open the texture set setting window, as shown below:

Export multiple texture sets.png

  • Transparent region clipping: when generating the texture set, the transparent region around the image is clipped to minimize the size of the texture set. When importing again, the range of the clipped transparent region will be restored. Faithfully restore the original project.

  • Power of 2: make sure the output image size is a power of 2.

  • Square: the exported texture set is square with equal length and width.

  • Background color: the same as the options on the export data window on the outer layer, and in sync with each other.

  • Horizontal spacing: texture concentration, left and right spacing between images.

  • Vertical spacing: the concentration of textures, the up and down spacing between images.

  • Automatic size: if ticked, DB will automatically set the texture set size according to a texture set.

    If auto size is not checked, you can set maximum width and maximum height.

    通过“maximum width”and“"maximum height”can be used to export multi-texture sets.

    This is a problem that can be solved by exporting multiple texture sets, considering that some mobile devices support up to 1024x1024 texture sets. When the maximum width and height of the texture to be exported is exceeded, the texture set is paged to generate multiple texture sets.When exporting a multi-texture set, the corresponding multi-profile is also generated.

  • Output size: displays the size of the output texture set.

  • Output size: displays the size of the output texture set.