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?
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?
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 settingspine.canvas.SkeletonRenderer.useTriangleRendering
totrue
. Note that this method is slow and may lead to artifacts on some browsers.
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?
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.