Action common time interval action API

Hits: 0

/**
 * Author:W
 * Common time interval actions of Node nodes [inherited from cc.ActionInterval]: Gradient actions completed within a certain time interval. The reference table is as follows:
 * cc.moveTo move to target position
 * cc.moveBy move target offset to target position
 * 
  * cc.rotateTo rotate to target angle
 * cc.rotateBy rotate target offset to target angle
 * 
  * cc.scaleTo Zoom to the target multiplier size
 * cc.scaleBy zoom the target zoom amount to the target size
 * 
  * cc.skewTo skew to the target angle
 * cc.skewBy skew the specified angle
 * 
  * cc.jumpTo move to the target position by jumping
 * cc. jumpBy Move to the specified position by jumping
 * 
  * cc.follow Track the trajectory of the target node
 * 
  * cc.bezierTo Move to the target position
 according to the Bezier curve trajectory * cc.bezierBy Move to the specified position according to the Bezier curve trajectory
 * 
 * cc.blink blinks
 * cc.fadeTo modifies the transparency to the specified value
 * cc.fadeIn gradually displays
 * cc.fadeOut gradually hides
 * 
  * cc.tintTo modifies the color to the specified value
 * cc.tintBy modifies the color according to the specified increment
 * 
  * cc .delayTime Delay the specified amount of time
 * cc.reverseTime Reverse the time axis of the target action
 * 
  * cc.cardinalSplineTo move to the target position
 on a cardinal spline trajectory * cc.cardinalSplineBy move to the specified position on a cardinal spline trajectory
 * 
  * cc .catmullRomTo Move to the target position
 according to the catmullRom curve track * cc.catmullRomBy Move to the specified position according to the catmullRom curve track
 */

cc.Class({
    extends: cc.Component,

    properties: {
        // foo: {
        //     // ATTRIBUTES:
        //     default: null,        // The default value will be used only when the component attaching
        //                           // to a node for the first time
        //     type: cc.SpriteFrame, // optional, default is typeof default
        //     serializable: true,   // optional, default is true
        // },
        // bar: {
        //     get () {
        //         return this._bar;
        //     },
        //     set (value) {
        //         this._bar = value;
        //     }
        // },
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {

    },

    // update (dt) {},
});

You may also like...

Leave a Reply

Your email address will not be published.