标签:cocos2d
cc.spriteFrameCache.addSpriteFrames(s_plist);
var spriteTest001 = cc.Sprite.create(cc.spriteFrameCache.getSpriteFrame("16.jpg"));
spriteTest001.setAnchorPoint(0.5, 0.5);
spriteTest001.setPosition(size.width / 2, size.height / 2);
this.addChild(spriteTest001,4);
标签:cocos2d
原文地址:http://snaile.blog.51cto.com/8061810/1586134