From what I understand from the samples…I have come up with this for a scene transition.
newScene extends cc.Layer, but I still get an error while running of:
“Uncaught TypeError: Cannot call method ‘setAnchorPoint’ of null” in CCTransition.js
on line: 1427
Other transitions seem to work fine, except that one!