DarkBASIC Professional Help File

DX11 APPLY SPRITE ANGLE

Increments the rotation of the specified sprite by the given angle. Will wrap around as necessary meaning negative angles can be given as input.

Syntax

    DX11 APPLY SPRITE ANGLE sprite, angle

Parameters

    sprite

> Dword
> The sprite to update the angle of.

    angle

> Float
> The angle (in degrees) to add to the current angle of the sprite. May be negative.

Returns

This function does not return a value.

See also

SPRITE Functions Menu
DX11 Function Categories