摘要:
var mainLayer = cc.Layer.extend({ ctor : function () { this._super(); cc.associateWithNative(this, cc.Layer);// 中间背景 var mainBG1 = cc.Sprite.create(Res.Images.Main.main_bg); var scale = WIN_HEIGHT / mainBG1.getContentSize().height; mainBG1.setScale(scale); mainBG1.setAnchorPoint(cc.p(0.5, 0.5)); mai 阅读全文
posted @ 2013-05-09 18:13
酷赛瑞
阅读(1950)
评论(0)
推荐(0)

浙公网安备 33010602011771号