随笔分类 -  coco2d-js

摘要:记录一些coco简单的属性和动作,位置,锚点,透明度,大小,移动等/*属性*/ if(!true){ var sprite1 = new cc.Sprite(res.Sp1); var sprite2 = new cc.Sprite(res.... 阅读全文
posted @ 2015-02-07 16:29 ajunfly 阅读(3951) 评论(0) 推荐(0)
摘要:封装创建方法var RunActionHelper = function(){};RunActionHelper.prototype.createAnimationByPlist = function(frames, time){ var animation = cc.Animation.cr... 阅读全文
posted @ 2015-01-05 15:18 ajunfly 阅读(5351) 评论(0) 推荐(0)