I would like to use dragonBones with pixi.js. I got a problem.
When the following line executes in dragonBones, I am getting an error:
slot.init(slotData, displays, new PIXI.Sprite(), new PIXI.mesh.Mesh(null, null, null, null, PIXI.mesh.Mesh.DRAW_MODES.TRIANGLES));
The error says: Uncaught TypeError: Cannot read property 'Mesh' of undefined.
. And yeah, while debugging, I noticed that PIXI.mesh
is really undefined.
What can I undertake against the error?
I am using this file for a dragonbones.
May it be that the problem is in the fact that I am using pixi.js - v4.5.6
?
pixi.js - v4.5.6
anddragonbones.js
. What else should I have? \$\endgroup\$ – trafalgarLaww Feb 6 '18 at 14:21codepen
? \$\endgroup\$ – trafalgarLaww Feb 6 '18 at 14:34pixi.js
were you using? \$\endgroup\$ – trafalgarLaww Feb 6 '18 at 14:35