cocos2d-x  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Actions

Classes

class  Action
 Base class for Action objects. More...
 
class  FiniteTimeAction
 Base class actions that do have a finite time duration. More...
 
class  Speed
 Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. More...
 
class  Follow
 Follow is an action that "follows" a node. More...
 
class  ActionCamera
 Base class for Camera actions. More...
 
class  OrbitCamera
 OrbitCamera action Orbits the camera around the center of the screen using spherical coordinates. More...
 
class  PointArray
 An Array that contain control points. More...
 
class  CardinalSplineTo
 Cardinal Spline path. More...
 
class  CardinalSplineBy
 Cardinal Spline path. More...
 
class  CatmullRomTo
 An action that moves the target with a CatmullRom curve to a destination point. More...
 
class  CatmullRomBy
 An action that moves the target with a CatmullRom curve by a certain distance. More...
 
class  ActionEase
 Base class for Easing actions. More...
 
class  EaseRateAction
 Base class for Easing actions with rate parameters. More...
 
class  EaseIn
 EaseIn action with a rate. More...
 
class  EaseOut
 EaseOut action with a rate. More...
 
class  EaseInOut
 EaseInOut action with a rate. More...
 
class  EaseExponentialIn
 Ease Exponential In. More...
 
class  EaseExponentialOut
 Ease Exponential Out. More...
 
class  EaseExponentialInOut
 Ease Exponential InOut. More...
 
class  EaseSineIn
 Ease Sine In. More...
 
class  EaseSineOut
 Ease Sine Out. More...
 
class  EaseSineInOut
 Ease Sine InOut. More...
 
class  EaseElastic
 Ease Elastic abstract class. More...
 
class  EaseElasticIn
 Ease Elastic In action. More...
 
class  EaseElasticOut
 Ease Elastic Out action. More...
 
class  EaseElasticInOut
 Ease Elastic InOut action. More...
 
class  EaseBounce
 EaseBounce abstract class. More...
 
class  EaseBounceIn
 EaseBounceIn action. More...
 
class  EaseBounceOut
 EaseBounceOut action. More...
 
class  EaseBounceInOut
 EaseBounceInOut action. More...
 
class  EaseBackIn
 EaseBackIn action. More...
 
class  EaseBackOut
 EaseBackOut action. More...
 
class  EaseBackInOut
 EaseBackInOut action. More...
 
class  EaseBezierAction
 Ease Bezier. More...
 
class  EaseQuadraticActionIn
 Ease Quadratic In. More...
 
class  EaseQuadraticActionOut
 Ease Quadratic Out. More...
 
class  EaseQuadraticActionInOut
 Ease Quadratic InOut. More...
 
class  EaseQuarticActionIn
 Ease Quartic In. More...
 
class  EaseQuarticActionOut
 Ease Quartic Out. More...
 
class  EaseQuarticActionInOut
 Ease Quartic InOut. More...
 
class  EaseQuinticActionIn
 Ease Quintic In. More...
 
class  EaseQuinticActionOut
 Ease Quintic Out. More...
 
class  EaseQuinticActionInOut
 Ease Quintic InOut. More...
 
class  EaseCircleActionIn
 Ease Circle In. More...
 
class  EaseCircleActionOut
 Ease Circle Out. More...
 
class  EaseCircleActionInOut
 Ease Circle InOut. More...
 
class  EaseCubicActionIn
 Ease Cubic In. More...
 
class  EaseCubicActionOut
 Ease Cubic Out. More...
 
class  EaseCubicActionInOut
 Ease Cubic InOut. More...
 
class  GridAction
 Base class for Grid actions. More...
 
class  Grid3DAction
 Base class for Grid3D actions. More...
 
class  TiledGrid3DAction
 Base class for TiledGrid3D actions. More...
 
class  AccelDeccelAmplitude
 AccelDeccelAmplitude action. More...
 
class  AccelAmplitude
 AccelAmplitude action. More...
 
class  DeccelAmplitude
 DeccelAmplitude action. More...
 
class  StopGrid
 StopGrid action. More...
 
class  ReuseGrid
 ReuseGrid action. More...
 
class  Waves3D
 Waves3D action. More...
 
class  FlipX3D
 FlipX3D action. More...
 
class  FlipY3D
 FlipY3D action. More...
 
class  Lens3D
 Lens3D action. More...
 
class  Ripple3D
 Ripple3D action. More...
 
class  Shaky3D
 Shaky3D action. More...
 
class  Liquid
 Liquid action. More...
 
class  Waves
 Waves action. More...
 
class  Twirl
 Twirl action. More...
 
class  ActionInstant
 Instant actions are immediate actions. More...
 
class  Show
 Show the node. More...
 
class  Hide
 Hide the node. More...
 
class  ToggleVisibility
 Toggles the visibility of a node. More...
 
class  RemoveSelf
 Remove the node. More...
 
class  FlipX
 Flips the sprite horizontally. More...
 
class  FlipY
 Flips the sprite vertically. More...
 
class  Place
 Places the node in a certain position. More...
 
class  CallFunc
 Calls a 'callback'. More...
 
class  CallFuncN
 Calls a 'callback' with the node as the first argument N means Node. More...
 
class  __CCCallFuncND
 Calls a 'callback' with the node as the first argument and the 2nd argument is data ND means: Node and Data. Data is void *, so it could be anything. More...
 
class  __CCCallFuncO
 Calls a 'callback' with an object as the first argument. O means Object. More...
 
class  ActionInterval
 An interval action is an action that takes place within a certain period of time. More...
 
class  Sequence
 Runs actions sequentially, one after another. More...
 
class  Repeat
 Repeats an action a number of times. More...
 
class  RepeatForever
 Repeats an action for ever. More...
 
class  Spawn
 Spawn a new action immediately. More...
 
class  RotateTo
 Rotates a Node object to a certain angle by modifying it's rotation attribute. More...
 
class  RotateBy
 Rotates a Node object clockwise a number of degrees by modifying it's rotation attribute. More...
 
class  MoveBy
 Moves a Node object x,y pixels by modifying it's position attribute. More...
 
class  MoveTo
 Moves a Node object to the position x,y. More...
 
class  SkewTo
 Skews a Node object to given angles by modifying it's skewX and skewY attributes. More...
 
class  SkewBy
 Skews a Node object by skewX and skewY degrees. More...
 
class  JumpBy
 Moves a Node object simulating a parabolic jump movement by modifying it's position attribute. More...
 
class  JumpTo
 Moves a Node object to a parabolic position simulating a jump movement by modifying it's position attribute. More...
 
struct  ccBezierConfig
 Bezier configuration structure. More...
 
class  BezierBy
 An action that moves the target with a cubic Bezier curve by a certain distance. More...
 
class  BezierTo
 An action that moves the target with a cubic Bezier curve to a destination point. More...
 
class  ScaleTo
 Scales a Node object to a zoom factor by modifying it's scale attribute. More...
 
class  ScaleBy
 Scales a Node object a zoom factor by modifying it's scale attribute. More...
 
class  Blink
 Blinks a Node object by modifying it's visible attribute. More...
 
class  FadeTo
 Fades an object that implements the RGBAProtocol protocol. More...
 
class  FadeIn
 Fades In an object that implements the RGBAProtocol protocol. More...
 
class  FadeOut
 Fades Out an object that implements the RGBAProtocol protocol. More...
 
class  TintTo
 Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More...
 
class  TintBy
 Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More...
 
class  DelayTime
 Delays the action a certain amount of seconds. More...
 
class  ReverseTime
 Executes an action in reverse order, from time=duration to time=0. More...
 
class  Animate
 Animates a sprite given the name of an Animation. More...
 
class  TargetedAction
 Overrides the target of an action so that it always runs on the target specified at action creation rather than the one specified by runAction. More...
 
class  ActionManager
 ActionManager is a singleton that manages all the actions. More...
 
class  PageTurn3D
 This action simulates a page turn from the bottom right hand corner of the screen. More...
 
class  ProgressTo
 Progress to percentage. More...
 
class  ProgressFromTo
 Progress from a percentage to another percentage. More...
 
class  ShakyTiles3D
 ShakyTiles3D action. More...
 
class  ShatteredTiles3D
 ShatteredTiles3D action. More...
 
class  ShuffleTiles
 ShuffleTiles action Shuffle the tiles in random order. More...
 
class  FadeOutTRTiles
 FadeOutTRTiles action Fades out the tiles in a Top-Right direction. More...
 
class  FadeOutBLTiles
 FadeOutBLTiles action. More...
 
class  FadeOutUpTiles
 FadeOutUpTiles action. More...
 
class  FadeOutDownTiles
 FadeOutDownTiles action. More...
 
class  TurnOffTiles
 TurnOffTiles action. More...
 
class  WavesTiles3D
 WavesTiles3D action. More...
 
class  JumpTiles3D
 JumpTiles3D action. More...
 
class  SplitRows
 SplitRows action. More...
 
class  SplitCols
 SplitCols action. More...
 
class  ActionTweenDelegate
 
class  ActionTween
 ActionTween. More...
 

Functions

CC_DLL Point  (Point &p0, Point &p1, Point &p2, Point &p3, float tension, float t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 
var  ( var p0, var p1, var p2, var p3, var tension, var t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 
local  ( local p0, local p1, local p2, local p3, local tension, local t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 

Detailed Description

Function Documentation

CC_DLL Point
cocos2d::ccCardinalSplineAt
( Point &  p0,
Point &  p1,
Point &  p2,
Point &  p3,
float  tension,
float  t 
)

Returns the Cardinal Spline position for a given set of control points, tension and time.

var ccCardinalSplineAt ( var  p0,
var  p1,
var  p2,
var  p3,
var  tension,
var  t 
)

Returns the Cardinal Spline position for a given set of control points, tension and time.

local ccCardinalSplineAt ( local  p0,
local  p1,
local  p2,
local  p3,
local  tension,
local  t 
)

Returns the Cardinal Spline position for a given set of control points, tension and time.