dragonbones-runtime
v5.6.200
Published
the tools to build dragonbones file for diffrent framework
Downloads
384
Readme
DragonBones JavaScript / TypeScript Runtime
DragonBones common library
Highly suggest use DragonBones Pro to create aniamtion.
Supported engines
- 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
Generate the files which are dependent by the engines
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/
To learn more about
Online demos
Copyright (c) 2012-2018 The DragonBones team and other contributors.