Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (16 sloc) 444 Bytes
var CCBMainScene = cc.Scene.extend({
ctor:function () {
this._super();
var node = cc.BuilderReader.load("MainScene.ccbi");
this.addChild(node);
this.setPosition(cc.p(0, 0));
}
});
var CCBGamePlayScene = cc.Scene.extend({
ctor:function() {
this._super();
var node = cc.BuilderReader.load("gameplayscene.ccbi")
this.addChild(node)
this.setPosition(cc.p(0,0))
}
})