-
1: Action类是动作命令,我们创建Action,然后节点运行action就能够执行Action的动作;
-
2: Action分为两类: (1) 瞬时就完成的ActionInstant, (2) 要一段时间后才能完成ActionIntervial;
-
3: cc.Node runAction: 节点运行action;
-
4: cc.moveTo, cc.moveBy To: 目标 By: 变化
-
5: cc.roateBy, cc.rotateTo,
-
6: cc.scaleBy, cc.scaleTo,
-
7: cc.fadeOut(淡出), cc.fadeIn(淡入): cc.fadeTo();
-
8: cc.callFunc, cc.delayTime
-
9: cc.sequnce, cc.repeat, cc.repeatForever
-
10: Action easing(缓动的方式): 加上缓动特效, cc.easeXXXXX查看文档设置自己想要的缓动对象
-
11: stopAction: 停止运行action
-
12: stopAllActions: 停止所有的action;