Open samael65535 opened 8 years ago
Could you elaborate? I've used it in browser just fine.
cocos 3.12
var player1 = new cc.Sprite("res/player.jpg");
player1.x = cc.winSize.width / 2;
player1.y = cc.winSize.height / 2;
this.addChild(player1);
var player2 = new cc.Sprite("res/player.jpg");
player2.setAdditionalTransform(player1.getNodeToParentTransform());
this.addChild(player2);
Native is OK