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

PRActionQSlideFade()

Creates a compound action that, when played by an object, will move the object by the given x and y distances while fading the object in or out. Ensure that the object currently has the desired starting image_alpha value prior to running this action.


Declaration

PRActionQSlideFade(moveXBy, moveYBy, alphaTo, easeId, durationSecs)

Parameters

moveXBy

The distance to move the object by in the x direction.

moveYBy

The distance to move the object by in the y direction.

alphaTo

The alpha value that the object will transition to during the animation.

easeId

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

durationSecs

The time, in seconds, that it takes for the animation to occur.

Return Value

The created action object.