SpriteAngle |
Top Previous Next |
Syntax SpriteAngle(sprite as POINTER,angle as DOUBLE) Description Sets the rotation angle in radians for drawing modes @ROTOZOOM and @TRANSROTOZOOM Parameters sprite - Sprite pointer returned by LoadSprite. angle - The rotation angle in radians. Return value None Remarks To use degrees multiply the degree by .01745. Rotations and scaling are drawing properties only. They do not change the sprite itself, only the way it appears on the screen. Standard hit testing will still use the original image. See Also: SpriteScaleFactor Example usage SpriteAngle ship, 90 * ,01745 |