azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 58 forks source link

Display issues when parameter triangleRendering is false #84

Closed marcusIB closed 7 years ago

marcusIB commented 7 years ago

Hi, I having trouble viewing my spine animations when I change triangleRendering to false.

this.game.plugins.add(PhaserSpine.SpinePlugin, { debugRendering: false, triangleRendering: false });

Otherwise, when this parameter has true value all works (with triangles of course).

this.game.plugins.add(PhaserSpine.SpinePlugin, { debugRendering: false, triangleRendering: true });

I'm using 4.0.0-alpha1 version of this api.

Thanks for your attention!

marcusIB commented 7 years ago

Well, I solved this issue using webGL instead canvas.

AleBles commented 7 years ago

Yeah, spine Canvas doesn't support Meshes, except when triangleRendering is set to true, it uses a special/different/experimental way of rendering the Meshes. Those are expected to not work with triangleRendering disabled on canvas

asifmansoor commented 5 years ago

hi, I am looking for the 4.0.0-alpha1 version but unable to find it. Can you guide me on this?