|
MoveSpriteX | |||
MoveSpriteX SpriteIndex, Xdist# | |||
Parameters: SpriteIndex = The identifier of the sprite you wish to create Xdist# = The value to add to the Sprites X positon |
|||
Returns: NONE | |||
MoveSpriteX changes the sprite current position by applying a change to the X position of the sprite. It is the same as the following manual calculation.
FACTS: * MoveSpriteX does not effect the Z position of this sprite. If you wish to the change the depth, then use MoveSpriteZ. Mini Tutorial: Create a sprite, set it's position, move it and display its new position to the screen.
This example would output.
|
Related Info: | MoveSprite | MoveSpriteY | MoveSpriteZ | PositionSprite | PositionSpriteX | PositionSpriteXYZ | PositionSpriteY | PositionSpriteZ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |