cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.07k stars 902 forks source link

Polygon sprite meshes seem to not be working in cocos2d-html5 #3499

Open mateosss opened 7 years ago

mateosss commented 7 years ago

Polygon meshes in .plist files generated by, for example, Texture Packer, don't work correctly in cocos2d-html5, but in other targets of cocos2d-x they works as expected.

captura de pantalla de 2017-07-05 20-12-05 This game looks as expected on android when compiling, but in browser it shows the blue sections that are part of other sprites (every part of the robot is a different sprite so for example the right leg has pieces of the left arm sprite)

pandamicro commented 7 years ago

Sorry, polygon sprite isn't supported on html5 engine, we have added the basic mesh support for spine in Cocos Creator, we will add polygon sprite support too, but we don't have the resources to merge it back in cocos2d-html5 engine, sorry for that

sudhalucky commented 6 years ago

Is the polygon sprite now supported in the latest version of html5 engine?