The ccsprite object is replaced by SP.
Summary is not separate from each other, logic ~
SP: setscalex (value) x axis horizontal scaling Value Ratio
SP: setscaley (value) Y axis horizontal scaling Value Ratio
SP: setposition (CCP (x, y) sets the position of the genie at the CCP (x, y) Point.
SP: setopacity (value) sets the sprite's transparency to the value.
SP: setrotation (angle): Set the Rotation Angle of the genie to angle.
SP: setcolor (ccc3 (255, 0, 0) set the color of the genie to red (RGB)
Ccmoveby: Create (duration, CCP (x, y) moves (x, y) distance relative to the current position of the Genie. The time is duration.
Ccmoveto: When the CREATE (duration, CCP (x, y) genie moves to the absolute position (x, y), the time is duration.
Action: reverse () Action original action reverse execution
SP: runaction ()
Ccsequence: createwithtwoactions (Action1, Action2) serializes the two actions (Action2 is executed immediately after action1 is executed)
Ccscaleto: Create (duration, scalesize) scales to the specified scaling factor: scalesize
Ccscaleby: Create (duration, x_scale, y_scale) respectively sets the scaling size in the X and Y directions.
Ccrotateto: Create (duration, 45) indicates turning to 45 degrees
Ccrotateby: Create (duration, 360) rotate 360 degrees clockwise from the current position
Ccskewto: Create (duration, Sx, XY) sprite's Skew distance in the X and Y directions is Sx, SY
Ccskewby: the skew distance of the CREATE (duration, Sx, Sy) genie from the current state in the X and Y directions is Sx, SY
Ccjumpto: Create (duration, position, height, jumps) genie Jump Actions include the number of hops, the jump height, and where to jump
Ccjumpby: The create (duration, position, height, jumps) genie jumps from the current position, including the number of jumps, jump height, and position
Ccrepeatforever: Create (ccsequence: createwithtwoactions (Action1, Action2) permanent loop is combined with sequential action
Ccbezierby: Create (T, C) curve-based Moving genie
Ccbezierto: Create (T, C) Move the wizard from the current position curve
Ccblink: the time and times when the CREATE (duration, ublinks) genie flashes.
Ccfadein: Create (duration) genie fade in (Transparency changes)
Ccfadeout: Create (duration) wizard fade out (Transparency changes)
Cctintto: Create (duration, red, green, blue) genie color change to RGB value and Change Time
Cctintby: Create (duration, deltared, deltagreen, deltablue) genie from the current state, time of color change and RGB Value
Ccanimate: Create (animation) genie run the specified animation action (provided that you have loaded the animation file of animation before)
Ccspawn: createwithtwoactions (Action1, Action2) Two actions are executed simultaneously and concurrently
Ccdelaytime: Create (duration) delay action (genie stop), including delay time
Ccplace: Create (CCP (x, y) genie placed to point CCP (x, y)
Ccrepeat: Create (Action, 3) the genie cyclically executes action three times