Highly suggest use DragonBones Pro to create aniamtion.
- Egret - How to use DragonBones in Egret
- PixiJS - How to use DragonBones in PixiJS
- Phaser - How to use DragonBones in Phaser
- Hilo - How to use DragonBones in Hilo
run npm install -g dragonbones-runtime to install the dragonbones-runtime in global.
Then you can get the dependent files in folder names dragonbones-out by run dbr <engine-name>@<version>, ex:
Egret: dbr [email protected]
PixiJS: dbr [email protected]
Phaser: dbr [email protected] or dbr [email protected]
Hilo: dbr [email protected]
using -o to specify the output folder(default: dragonbones-out), ex:
dbr [email protected] -o ./egret-db-out
because the phaser is downloaded from npm register, so you can use -r to specify the register, ex:
dbr [email protected] -r taobao (default: npm)
valid register:
npm - https://registry.npmjs.org/
taobao - https://registry.npm.taobao.org/
cnpm - http://r.cnpmjs.org/
Copyright (c) 2012-2018 The DragonBones team and other contributors.
