Using DragonBones Pro (free software) to create bone animations for Visionaire 5

  • #1, by LebosteinMonday, 25. January, 21:04 A month ago
    1. Download and install the software (Win + Mac Os):

    2. Open the software and load the Dragon example

    3. Select File/Export...

    4. Select the following settings:
    - Data Config: Type: Spine
    - Data Config: Data Version: 3.3
    - Texture Config: Image Type: Texture Atlas
    - Texture Config: BG Color: Transparent
    - Generated Files: * Data * Texture
    - Choose output path and file name

    5. Click on "Settings..." to the right of "Image Type" and set the settings as shown on the screenshot below

    6. Click on "Finish" to close the settings and on "Finish" to export the data

    7. In current Spine exports (> 3.3) the skin section is a list now instead a dictionary. Use the python script below (see post #5) or open the generated JSON-file with a text editor end replace 1 with 2:
    "skins":{"default":
    "skins":[{"name":"default","attachments":
    1
    2

    and
    },"animations":
    }],"animations":
    1
    2

    8. Copy the 3 files into your Visionaire-Project:
    - Dragon.atlas
    - Dragon.json
    - Dragon.png

    9. Create a new character in your project and load the JSON

    10. Select an outfit slot and select an animation of the loaded Spine file

    Key Killer

    618 Posts


  • #2, by LebosteinMonday, 25. January, 21:33 A month ago
    On Mac OS it could be, that the standard language is not english. In that case click that:

    Key Killer

    618 Posts

  • #3, by LebosteinTuesday, 26. January, 06:56 A month ago
    Editing the Spine export file (JSON) is no hack or something like that. The developers of spine documented that export format very detailed:

    The Spine developers write: "The JSON format is human readable and editable, especially when used with the pretty print setting. This makes it a good choice when needing to manually inspect or otherwise process the data."
    With the Wayback Machine (http://web.archive.org/) you can load snapshots from this page from 2014, 2015 and 2017. So you can see the development and the changes of the output format from year to year.

    Key Killer

    618 Posts

  • #4, by NigecWednesday, 27. January, 10:10 A month ago
    thank you for the heads up. I'll give it a try.

    yeah its not a hack, you could manually create the JSON file if you study it long enough and probably create a simple JSON reader/writer

    Also if they supply the sdk its kinda silly to then protest if someone actually uses it to import/export a file

    Key Killer

    584 Posts

  • #5, by LebosteinWednesday, 27. January, 14:33 A month ago
    Here is a little python script to convert an exported JSON file from DragonBones (Spine 3.3) to the required JSON for Visionaire (Spine 3.8):

    python spine_updater_db_vis.py myfile.json
    1

    It fixes the changed skin definition and converts all bezier curve definitions from lists to single attributes. I have not discovered any other changes at first glance. But I will modify the script if necessary. A backup is saved before the original file is overwritten.

    Key Killer

    618 Posts

Write post