|
|
| GetSpriteAngle | ||
| Angle# = GetSpriteAngle() | ||
| Parameters: NONE | ||
| Returns: Angle#= The current angle of rotation of this sprite |
||
The GetSpriteAngle function returns the current rotation angle of a sprite. FACTS: * Also see RotateSprite, TurnSprite, SpriteDrawMode Mini Tutorial: This example is really 3 parts. The first part creates a image out of a triangle shape and a circle. Part 2 creates the sprite, the sprite is then set to render the previously created image as it's graphic to rotate. Part 3 is the main do/loop. Which rotates the sprites and renders it
Sample text output from this example.
|
| Related Info: | RotateSprite | SpriteDrawMode | TurnSprite : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |