|
PositionSprite | ||
PositionSprite SpriteIndex, Xpos#, Ypos# | ||
Parameters: SpriteIndex = The identifier of the sprite you wish to position Xpos# = X position of sprite Ypos# = Y position of sprite |
||
Returns: NONE | ||
PositionSprite positions a sprite to specific X and Y position. FACTS: * PositionSprite does not alter the Z position of this sprite. If you wish to the change the depth of the sprite either use PositionSpriteZ, or PositionSpriteXYZ * Also See MoveSprite Mini Tutorial: Create a sprite, set it's position, then display this position to the screen.
This example would output.
|
||
Example Source: Download This Example
|
Related Info: | GetSpriteOldX | GetSpriteOldY | GetSpriteOldZ | GetSpriteX | GetSpriteY | GetSpriteZ | PositionSpriteX | PositionSpriteXYZ | PositionSpriteY | PositionSpriteZ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |