el:spritemove [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

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

Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spritepoly Spriteplace, Spriteshow, Spriteslice, Spriter, Sprites, Spritev, Spritew, Spritex, Spritey

### New To Version

0.9.6n
Rotate and scale new to 0.9.9.15

el/spritemove.txt · Last modified: 2014/01/11 23:26 (external edit)