thinkphp多条件筛选的视图和控制器代码
1个回答
2016-01-10
展开全部
CGPoint pos = CGPoint.ccp (300, 200);
CCMoveBy moveBy = CCMoveBy. action(2, pos);
CCEaseIn easeIn = CCEaseIn. action(moveBy, 10);// 渐快:加速运动(加速度恒定)
CCEaseOut easeOut = (CCEaseOut) easeIn.reverse();
getSprite().runAction(
CCRepeatForever.action(CCSequence.actions(easeIn,
CCDelayTime. action(1), easeOut)));
CCMoveBy moveBy = CCMoveBy. action(2, pos);
CCEaseIn easeIn = CCEaseIn. action(moveBy, 10);// 渐快:加速运动(加速度恒定)
CCEaseOut easeOut = (CCEaseOut) easeIn.reverse();
getSprite().runAction(
CCRepeatForever.action(CCSequence.actions(easeIn,
CCDelayTime. action(1), easeOut)));
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询