// 闪烁
this.runAction(cc.Blink.create(0.01,1));


// shake震动
var move = cc.MoveBy.create(0.05, cc._p(8, 8));
var move_back = move.reverse();
var move_seq = cc.Sequence.create(move, move_back);
var move_rep = cc.RepeatForever.create(move_seq);
this.runAction(move_rep);

 

// 变色
var tint = cc.TintBy.create(0.05, -255, 0, 0);
var tint_back = tint.reverse();
var move_seq = cc.Sequence.create(tint, tint_back);
this.runAction(move_seq);

posted on 2013-12-31 15:07  凌度  阅读(364)  评论(0编辑  收藏  举报