Class cc.EaseElasticOut

Class Summary
Constructor Attributes Constructor Name and Description
 
Ease Elastic Out action.

Method Summary

Class Detail

cc.EaseElasticOut()
Ease Elastic Out action.
Reference easeOutElastic:
http://www.zhihu.com/question/21981571/answer/19925418
//The old usage
cc.EaseElasticOut.create(action, period);
//The new usage
action.easing(cc.easeElasticOut(period));
since v3.0
Please use action.easing(cc.easeElasticOut(period))

Method Detail

  • {cc.EaseElasticOut} clone()
    to copy object with deep copy. returns a clone of action.
    Returns:
    {cc.EaseElasticOut}
  • <static> {cc.EaseElasticOut} cc.EaseElasticOut.create(action, period)
    Creates the action with the inner action and the period in radians (default is 0.3).
    Reference easeOutElastic:
    http://www.zhihu.com/question/21981571/answer/19925418
    //The old usage
    cc.EaseElasticOut.create(action, period);
    //The new usage
    action.easing(cc.easeElasticOut(period));
    Parameters:
    {cc.ActionInterval} action
    {Number} period Optional, Default: 0.3
    Deprecated:
    since v3.0
    Please use action.easing(cc.easeElasticOut(period))
    Returns:
    {cc.EaseElasticOut}
  • {cc.EaseElasticIn} reverse()
    Create a action. Opposite with the original motion trajectory.
    Returns:
    {cc.EaseElasticIn}
  • update(dt)
    Called once per frame. Time is the number of seconds of a frame interval.
    Parameters:
    {Number} dt