Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 2.41 KB

README.md

File metadata and controls

1 lines (1 loc) · 2.41 KB

DragonBones ProfessionalProvides script files that can be easily exported from Photoshop to DragonBones Professional support,project files that can be imported.

  • On the system, the location of the script file is:

{Dragon Bones Professional Installation directory}\PSExportDB.jsx

  • On the Mac, go to DragonBones Pro. App in your application, right-click and select show package content, and then find the script file in the following location:

/Contents/Resources/PSExportDB.jsx

 

In Photoshop, open up the design,Then select file -> in the menu. Script - & gt; Browsing, It is then found in the system location window that opensPSExportDB.jsx File, select open. The following dialog box pops up:

PSexportDB.png

  • Export  PNGs Export images

  • Export JSON Export json file

  • Ignore Hidden Layers Ignore hidden layers

  • Image Scale Global scaling

Set as required, and click OK.And you start exporting. After exporting, a DragonBones/{PSD file name}/ directory will be generated in the directory where the design drawing is located.If you export both PNGs and JSON, you have a JSON file with the same name as the.psd file and a texture directory. The Texture directory is all of the PNG image files.

When importing, select the exported json file in the import window of DragonBones Professional and select the texture type "picture file" to import the design drawing toDragonBones Professional.

After import, the relative position, size and hierarchy of images are exactly the same as in PS.