Table of Contents

Spritemove (Statement)

Format

spritemove sprite_number, x_position, y_position
spritemove ( sprite_number, x_position, y_position )
spritemove sprite_number, x_position, y_position, scale_expression
spritemove ( sprite_number, x_position, y_position, scale_expression )
spritemove sprite_number, x_position, y_position, scale_expression, rotate_expression
spritemove ( sprite_number, x_position, y_position, scale_expression, rotate_expression )

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 rrotate_expr and scale_expression parameters. The degree rotate_expression is measured in radians. Rotation and scaling are relative to the previous state of the sprite.

See Also

2016/01/01 22:42

History

0.9.6nNew To Version
0.9.9.15Rotate and scale added