User Tools

Site Tools


en:spritemove

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:spritemove [2016/08/13 11:59]
admin
en:spritemove [2016/08/13 12:00] (current)
admin
Line 6: Line 6:
 **spritemove** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]]\\ **spritemove** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]]\\
 **spritemove** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]] )\\ **spritemove** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]] )\\
-**spritemove** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​//​rotate_expr//​\\ +**spritemove** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​[[floatexpressions|rotate_expression]]\\ 
-**spritemove** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​//​rotate_expr// ​)+**spritemove** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​[[floatexpressions|rotate_expression]] ​)
  
 ==== Description ==== ==== 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 [[floatexpressions|scale_expression]] parameters. ​ The degree ​//​rotate_expr// ​is measured in radians. ​ Rotation and scaling are relative to the previous state of the sprite.+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 [[floatexpressions|scale_expression]] parameters. ​ The degree ​[[floatexpressions|rotate_expression]] ​is measured in radians. ​ Rotation and scaling are relative to the previous state of the sprite.
  
 ==== See Also ==== ==== See Also ====
en/spritemove.txt · Last modified: 2016/08/13 12:00 by admin