|
MoveSpriteY | |||
MoveSpriteY SpriteIndex, Ydist# | |||
Parameters: SpriteIndex = The identifier of the sprite you wish to create Ydist# = The value to add to the Sprites Y position |
|||
Returns: NONE | |||
MoveSpriteY changes the sprite current position by applying a change to the Y position of the sprite. It's the same as the following manual calculation.
FACTS: * MoveSpriteY does not alter the X or Z positions of this sprite. See MoveSpriteX, MoveSpriteZ. * MoveSpriteY can support sliding collision with the approriate SpriteCollisionMode 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 | MoveSpriteX | MoveSpriteZ | PositionSprite | PositionSpriteX | PositionSpriteXYZ | PositionSpriteY | PositionSpriteZ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |