I’m trying to get cc.ClippingNode.create() to work but my browser always hangs when calling the create() function. Doesn’t matter if I call it with a stencil or not. Do I have to activate some flag or do some other initializing before using cc.ClippingNode?
My function call:
var clipper = cc.ClippingNode.create();
Thanks for reading.