wijesijp

I add a mesh to a image, and created a test game.

When I run the game on canvas it does not display.
Does it mean any operations with meshes require WebGL?
wijesijp
  • Posts: 11

Pharan

Hello!

I read this from the readme. spine-runtimes/spine-ts at master
spine-ts Canvas does not support color tinting and mesh attachments.
Only the alpha channel from tint colors is applied.
Experimental support for mesh attachments can be enabled by setting spine.canvas.SkeletonRenderer.useTriangleRendering to true. Note that this method is slow and may lead to artifacts on some browsers.
User avatar
Pharan
  • Posts: 5366

wijesijp

I am using spine inside Cocos Creator.
http://www.cocos2d-x.org/docs/api-ref/creator/v1.0/classes/Skeleton.html

Is there a way to set this inside Cocos?
wijesijp
  • Posts: 11

badlogic

It appears Cocos Creator copied our old Javascript runtime which does not have this setting. Please contact the Cocos Creator authors and ask if they could update to the latest spine-ts runtime.
User avatar
badlogic

Mario
  • Posts: 1848


Return to Runtimes