2016年12月16日

摘要: 1. 普通创建 var sprite = new cc.Sprite(“从loader加载的资源名称”); 2. 设置中点 sprite. setAnchorPoint(0~1, 0~1); // x、y的坐标 或者: sprite.setAnchorPoint(cc.p(x, y)); // 同上 阅读全文
posted @ 2016-12-16 12:36 空幻无灵 阅读(384) 评论(0) 推荐(0) 编辑

导航