DragonBonesJS icon indicating copy to clipboard operation
DragonBonesJS copied to clipboard

[Feature] Mesh animations are not supported in Phaser

Open Nodragem opened this issue 7 years ago • 4 comments

Hello,

I was very excited by the mesh feature in DragonBones, and I had good fun with it in DragonBones Pro.

However, when I imported successfully my animation into Phaser, I got the warning message: "mesh are not suppored in phaser-ce" (I write the message from memory, so might not be accurate). In practice, the game is running but the mesh animated parts of my DragonBones' animation are not displayed ... :( so sad.

Is there any technology roadblock that prevents implementing the mesh animations in Phaser? or is it actually possible to do but not implemented yet? If so, any plan to implement it in the near future? or maybe in Phaser 3?

Thank you for your amazing work again.

Nodragem avatar Feb 07 '18 09:02 Nodragem

Mesh does not work since the Phaser 2 does not support mesh. We hope Phaser 3 can support it.

doubleclip avatar Feb 08 '18 01:02 doubleclip

I did some search, and it seems that Creature succeeds to use their mesh feature in Phaser 2: https://phaser.io/examples/v2/animation/creature-dragon

Maybe they are using a workaround you can use?

Nodragem avatar Feb 08 '18 10:02 Nodragem

Phaser-ce no mesh api, the only way to support mesh is to use creature. Phaser 3 support mesh api. https://github.com/photonstorm/phaser/tree/master/src/gameobjects/mesh

akdcl avatar Feb 09 '18 01:02 akdcl

oh cool :) can't wait for phaser 3 then :D I think it is going to be released soon, like one week or so.

Nodragem avatar Feb 09 '18 09:02 Nodragem