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

  • #1, z LebosteinMonday, 25. January 2021, 21:04 hodinky 3 years 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":

    and
    },"animations":
    }],"animations":

    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

    Zabiják klíčů

    621 Posts


  • #2, z LebosteinMonday, 25. January 2021, 21:33 hodinky 3 years ago
    On Mac OS it could be, that the standard language is not english. In that case click that:

    Zabiják klíčů

    621 Posts

  • #3, z LebosteinTuesday, 26. January 2021, 06:56 hodinky 3 years 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.

    Zabiják klíčů

    621 Posts

  • #4, z NigecWednesday, 27. January 2021, 10:10 hodinky 3 years 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

    Zabiják klíčů

    635 Posts

  • #5, z LebosteinWednesday, 27. January 2021, 14:33 hodinky 3 years 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

    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.

    Zabiják klíčů

    621 Posts