Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 768 Bytes

SPROT.org

File metadata and controls

32 lines (26 loc) · 768 Bytes

Top | Up (Sprite) | < Previous (SPOFS) | Next (SPSCALE) >

SPROT

Rotates a sprite

Syntax

SPROT sprite%, angle%
SPROT sprite% OUT angle%
parameterdescription
sprite%sprite management number
angle%the rotation angle, in degrees

Examples

SPSET 0,0
SPOFS 0,100,100
SPROT 0,45

Possible errors

ErrorCause
Illegal function callsprite doesn’t exist, or wrong number of arguments were used
Out of rangea sprite number less than 0 or more than the highest sprite number was used
Type mismatchA non-number value was used for the sprite id or angle