Skip to content

zouzhqi/Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
duanchunlei
Mar 12, 2018
daceee9 · Mar 12, 2018

History

54 Commits
Feb 10, 2018
Feb 6, 2018
Mar 12, 2018
Feb 6, 2018
Feb 6, 2018
Aug 16, 2017
Mar 12, 2018
Mar 12, 2018
Mar 12, 2018
Aug 16, 2017
Aug 16, 2017

Repository files navigation

DragonBones tools

JSON format

Installation

$ npm install dragonbones-tools --global

Help

  • use 2db convert other format files to DragonBones json format files.

    $ 2db --help

  • use db2 convert DragonBones json format files to other format files.

    $ db2 --help

How to use

  • Convert old DragonBones json format files to new DragonBones json format files in current path.

    $ 2db -t new

  • Convert Spine json format files to DragonBones json format files in current path.

    $ 2db -t spine

  • Convert DragonBones json format files to Spine json format files in current path.

    $ db2 -t spine

  • Convert DragonBones json format files (file path contains "hero" key word) to DragonBones binary format files in current path.

    $ db2 -t binary -f hero

  • Convert DragonBones json format files to DragonBones binary format files from input path to output path and delete raw files.

    $ db2 -t binary -i d:/input -o d:/output -d

Notice

  • Make sure you have installed nodeJS.
  • Make sure you have installed a browser that supports html5.
  • Make sure backup your raw resources before convert.

How to build

  • $ npm install
  • $ npm install typescript --global
  • $ tsc

About

DragonBones Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.0%
  • JavaScript 7.7%
  • HTML 6.3%