
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
phaser-dragonbones
Advanced tools
Make clone
Clone without submodules
> git clone https://github.com/raksa/phaser-dragonbones.git
Clone with submodules (will make big size of transfer git repo)
> git clone --recurse-submodules https://github.com/raksa/phaser-dragonbones.git
Make compiling
> cd phaser-dragonbones
> npm install
> npm run compile
Make running
> npm run start
test example in "example" folder
Current test version:
Phaser: 2.6.2
DragonBones API: 4.5
DragonBones Data Format: 4.5
Via bower
> bower install phaser-dragonbones
<script src="example/lib/dragonBones.js"></script>
<script src="built/dragonBonesPhaser.min.js"></script>
{
init: function() {
this.dragonBonesPlugin = this.game.plugins.add(Rift.DragonBonesPlugin);
},
preload: function () {
this.dragonBonesPlugin.addResourceByNames("key",
"path/to/skeleton.json", "path/to/texture.json", "path/to/texture.png");
this.dragonBonesPlugin.loadResources();
},
create: function () {
var x = this.world.width / 2;
var y = 3 * this.world.height / 4;
var sprite = this.dragonBonesPlugin.getArmature("key");
sprite.position.setTo(x, y);
sprite.scale.setTo(0.6);
this.world.add(sprite);
var names = sprite.animation._animationNames;
sprite.animation.play(names[0]);
}
}
FAQs
Phaser plugin for DragonBones animator
We found that phaser-dragonbones demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.