Documentation Topics
Function

PRVirconJoySetLabel()

Sets the given joystick's label sprite.


Declaration

PRVirconJoySetLabel(joyId, sprite, xOffsetX, yOffset, scale, rotation)

Parameters

joyId

The joystick ID.

sprite

The sprite to use for the joystick's label.

xOffset

The x-offset of the label sprite from the center of the joystick's nub.

yOffset

The y-offset of the label sprite from the center of the joystick's nub.

scale

The scale size to apply to the label sprite with 1 being normal size.

rotation

The angle at which to draw the label sprite.

Return Value

n/a