!#en Default Action tag. !#zh 默认动作标签。
!#en Implementation of ease motion. !#zh 缓动运动。
!#en get duration of the action. (seconds). !#zh 获取动作以秒为单位的持续时间。
!#en get the original target. !#zh 获取原始目标节点。
Get this action speed.
!#en get tag number. !#zh 获取用于识别动作的标签。
!#en get the target. !#zh 获取当前目标节点。
!#en Repeats an action a number of times. To repeat an action forever use the CCRepeatForever action. !#zh 重复动作可以按一定次数重复一个动作,使用 RepeatForever 动作来永远重复一个动作。
!#en
Repeats an action for ever.
To repeat the an action for a limited number of times use the Repeat action.
!#zh 永远地重复一个动作,有限次数内重复一个动作请使用 Repeat 动作。
!#en set duration of the action. (seconds). !#zh 设置动作以秒为单位的持续时间。
Set this action speed.
!#en set tag number. !#zh 设置标签,用于识别动作。
!#en The action will modify the target properties. !#zh 设置目标节点。
!#en
Changes the speed of an action, making it take longer (speed>1)
or less (speed<1) time.
Useful to simulate 'slow motion' or 'fast forward' effect.
!#zh
改变一个动作的速度,使它的执行使用更长的时间(speed > 1)
或更少(speed < 1)可以有效得模拟“慢动作”或“快进”的效果。
Generated using TypeDoc
!#en
An interval action is an action that takes place within a certain period of time.
It has an start time, and a finish time. The finish time is the parameter
duration plus the start time.
These CCActionInterval actions have some interesting properties, like:
- They can run normally (default)
- They can run reversed with the reverse method
- They can run with the time altered with the Accelerate, AccelDeccel and Speed actions.
For example, you can simulate a Ping Pong effect running the action normally and
!#zh 时间间隔动作,这种动作在已定时间内完成,继承 FiniteTimeAction。then running it again in Reverse mode.
duration in seconds