cocos2d / cocos2d-js

cocos2d-x for JS
http://www.cocos2d-x.org
MIT License
1.86k stars 489 forks source link

Particle texture problem with canvas render mode #1809

Open jaunusa opened 8 years ago

jaunusa commented 8 years ago

Hi

When I switch my game to canvas mode, the size of the emitted textures is about 20% smaller than the size in webgl render mode. Further when I set a content scale factor on the director, the texture is cropped in canvas mode.

Content scale 1.0x: par1

Content scale 2.0x: par2

In webgl everything works well.

Thank you for your efforts.