Search the Community
Showing results for tags 'dragonbones'.
Found 4 results
I've been working on this in free time on the side. Figured I would share so anyone else working on something similar might benefit from it. It at least works to do some stuff, but it doesn't do mesh or switch skins yet. https://bitbucket.org/silashatfield/phaserbones
jimanji posted a topic in PhaserDEMO: http://silashatfield.com/game/ I've been grinding away with all of my free time getting dragon bones to work in phaser and creating an isometric concept. It's been a HUGE learning curve for me but I wanted to share what I have so far. Also, big thanks for http://rotates.org/phaser/iso/
[EDIT] - I have tidied and commented this now, and switched to use the dragon animation from the dragonBones demo package. I've also uploaded a zip of the whole working example to here http://www.alexh.org/phaser_bones/phaser_bones.zip I started having my first go at messing around with Phaser this morning so I thought a good place to begin would be getting dragon bones working with it. I’ve just lifted the texture atlas straight from a game I'm working on and stuck the player characters running animation loop from my game in front of the phaser hello world for now. Here's the result: http://www.alexh.org/phaser_bones/ The most relevant code is in this file: http://www.alexh.org/phaser_bones/phaser_dragonbones.js It handles applying the skeleton animation to Phaser sprites. Feel free to take the code, but please don't nick the images from my png file! I'll try to tidy it up, then perhaps make a phaser example out of it.