lua_cocos精灵的不断闪动
一. 刚开始使用
local blink = cc.Blink:create(1, 10)
sprite:runAction(blink) --仅有一次闪现,精灵自己去创建
二. --持续不断的闪烁
local sequence = cc.Sequence:create(cc.DelayTime:create(0.3),cc.FadeOut:create(0.6),
cc.DelayTime:create(0),cc.FadeIn:create(0.8),NULL)
local repeatForever = CCRepeatForever:create(sequence)
sprite:runAction(repeatForever)