Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.

Documentation Topics
Function

PRActionQFlipXY()

Creates a compound action that, when played by an object, will make it appear that the object is flipping end-over-end in the X and Y directions.


Declaration

PRActionQFlipXY(xFlipDurationSecs, yFlipDurationSecs, repeatCount, easeId)

Parameters

xFlipDurationSecs

The time, in seconds, that it takes for one full flip along the x-axis. Specify 0 here for no flipping along the x-axis.

yFlipDurationSecs

The time, in seconds, that it takes for one full flip along the y-axis. Specify 0 here for no flipping along the y-axis.

repeatCount

The number of flips to make. Specify a negative number here for infinite flipping.

easeId

The ease id indicating which easing function to use for this animation.

Return Value

The created action object.