User Tools

Site Tools


el:spritemove

Spritemove

Format

spritemove spritenumber, dx, dy
spritemove ( spritenumber, dx, dy )
spritemove spritenumber, x, y, s
spritemove ( spritenumber, x, y, s )
spritemove spritenumber, x, y, s, r
spritemove ( spritenumber, x, y, s, r )

Description

Move a sprite from its current position by the specified number of pixels. Motion will be limited to the current screen. Optionally the sprite may be rotated or scaled by defining optional the r and s parameters. The degree r is measured in radians. Rotation and scaling are relative to the previous state of the sprite.

See Also

New To Version

0.9.6n
Rotate and scale new to 0.9.9.15

el/spritemove.txt · Last modified: 2020/02/28 10:46 (external edit)