⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-dff292a
Loading...
Searching...
No Matches
Actions

Classes

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  ActionCoroutine
 Base class for Coroutine actions. 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. 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  ResizeTo
 Resize a Node object to the final size by modifying it's 'size' attribute. More...
class  ResizeBy
 Resize a Node object by a size. 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...
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...
 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  ActionFloat
 Action used to animate any value in range [from,to] over specified time interval. 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. More...
class  FadeOutTRTiles
 FadeOutTRTiles action. 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
 The delegate class for ActionTween. More...
class  ActionTween
 ActionTween. More...

Functions

Vec2 cardinalSplineAt (const Vec2 &p0, const Vec2 &p1, const Vec2 &p2, const Vec2 &p3, float tension, float t)
 Returns the Cardinal Spline position for a given set of control points, tension and time.
static ActionCoroutinecreate (const std::function< Coroutine()> &function)
 Create the action with coroutine.
bool initWithCoroutine (const std::function< Coroutine()> &function) noexcept
 initializes the action with the Coroutine @lua NA

Detailed Description

Function Documentation

◆ create()

ActionCoroutine * create ( const std::function< Coroutine()> & function)
static

Create the action with coroutine.

Parameters
coroutineA callback function need to be executed.
Returns
A pointer of ActionCoroutine. If creation failed, return nil. @lua NA