Arguments:
1) real: maxPopups
Return Type:
real
Creates a score number popup list object that can display up to maxPopups popups at once.
If maxPopups is exceeded when creating a popup, the oldest existing popup will be recycled.
Arguments:
1) real: objectID
2) string: pathTexture
Sets the texture for the popup list.
Arguments:
1) real: objectID
2) real: scaleX
3) real: scaleY
Sets the scale of the popup digits.
Arguments:
1) real: objectID
2) real: width
3) real: height
Sets the width and height of each digit on the texture.
Arguments:
1) real: objectID
2) real: startSpeed
Sets the speed at which the score popups begin moving at.
Arguments:
1) real: objectID
2) bool: bEnable
If true, enables the deceleration effect for score popups.
Every frame, speed will be set to speed * 0.95.
Arguments:
1) real: objectID
2) real: time
Sets the time at which a created score popup will be deleted.
Arguments:
1) real: objectID
2) real: duration
3) real: firstDigitX
4) real: firstDigitY
Adds an animation frame for a set of digits to the popop list renderer.
If only a single frame is added, digits will fade out after the given
duration instead of animating.
The duration of the last frame in an animated sequence does not matter
since the animation is not looped.
Note: There is currently no way to set the spacing between digits on the texture. They must be evenly spaced.
Arguments:
1) real: objectID
2) real: objPlayer
Attaches a player object to the popup list.
This will cause score popups to fade out when close to the player (distance is currently hardcoded).
Arguments:
1) real: objectID
2) real: minDistance
3) real: maxDistance
Sets the distance parameters for the fade effect when score popups are close to the player.
If the player is within the range of [minDistance, maxDistance], the popup's alpha value will be interpolated from 128 to 255 depending on the distance.
Defaults to (64, 128).
Arguments:
1) real: objectID
2) real: value
3) real: x
4) real: y
5) real: colorHex
Creates a score number popup with the given value at (x, y) and sets the color to colorHex.
Note: The popup itself is not an object and cannot be controlled externally.