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 egret@4.1.0
PixiJS: dbr pixijs@4.6.2
Phaser: dbr phaser@2.6.2
or dbr phaser-ce@2.7.0
Hilo: dbr hilo@1.1.6
using -o
to specify the output folder(default: dragonbones-out
), ex:
dbr egret@4.1.0 -o ./egret-db-out
because the phaser
is downloaded from npm register
, so you can use -r
to specify the register
, ex:
dbr phaser@2.6.2 -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.