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

PRActionQBounce()

Creates a compound action that, when played by an object, will bounce the object from it's starting point, up along the given travelAngle until the distance given in travel is reached, and then falls back down to it's starting point. Each bounce duration will be jumpDurationSecs seconds.


Declaration

PRActionQBounce(travel, travelAngle, repeatCount, easeUpId, easeDownId, jumpDurationSecs)

Parameters

travel

The distance that the bounce travels.

travelAngle

The angle that the bounce occurs, with 90 being straight up.

repeatCount

The number of bounces. Specify a negative number here for infinite bouncing.

easeUpId

The ease id indicating which easing function to use for the first half of the bounce.

easeDownId

The ease id indicating which easing function to use for the second half of the bounce.

jumpDurationSecs

The time, in seconds, that it takes for each bounce to occur.

Return Value

The created action object.