Hi there,
I’m using cocos2d v2.2.2, I’m trying to use ClippingNode, it works fine on chrome but not on firefox. As i said on topic, it doesn’s resize on firefox. Can anyone help me solve this problem?
p/s: sorry for my poor english!
Hi there,
I’m using cocos2d v2.2.2, I’m trying to use ClippingNode, it works fine on chrome but not on firefox. As i said on topic, it doesn’s resize on firefox. Can anyone help me solve this problem?
p/s: sorry for my poor english!
Hi @huynmse02723,
I think this bug has been fixed in v2.2.3,
You can open CCClippingNode.js
and find _setStencilForCanvas
function,
Move the code var locEGL_ScaleX = cc.view.getScaleX(), locEGL_ScaleY = cc.view.getScaleY();
into the stencil.draw
function.
Hopes to help.
David