Name
planar.MoveSprite -- set sprite position (V2.0)
Synopsis
planar.MoveSprite(id, x, y)
Function
This function moves the hardware sprite specified by
id
to the position specified by
x
and
y
. This is only possible for sprites that have been mapped to a sprite DMA channel before so you need to call
planar.MapSprite()
before using this function.
Inputs
id
identifier of hardware sprite to move
x
desired new x position
y
desired new y position
Example
See
planar.CreateSprite
Show TOC