I used something like this:
var rotateToEdge = cc.OrbitCamera.create(0.2, 1, 0, 0, 90, 0, 0);
var rotateFlat = cc.OrbitCamera.create(0.2, 1, 0, 270, 90, 0, 0);
this.runAction(cc.Sequence.create(rotateToEdge,cc.CallFunc.create(this.changeTile,this),rotateFlat));
It seems nothing happened. ( The similar function works in cocos2d-x).
ShunLin
February 5, 2013, 6:30am
#2
Cocos2d-html5 can not support cc.OrbitCamera currently. For now, it is rendering by canvas.
It will be supported this March, we will release a new version engine which supports WEBGL rendering.
That’s a great news. Is it possible to support PageTurn3D?
ShunLin
February 6, 2013, 8:00am
#4
Yes, it will be supported in next version.
hi,I’m working with cocos2d-js v 3.14, and i want to use cc.OrbitCamera.create,but it crashed with errors:undfined, i find the package and couldn’t find the api.