User Tools

Site Tools


en:spriteplace

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:spriteplace [2016/08/13 11:59]
admin
en:spriteplace [2016/08/13 12:00] (current)
admin
Line 5: Line 5:
 **spriteplace** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]]\\ **spriteplace** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]]\\
 **spriteplace** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]] )\\ **spriteplace** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]] )\\
-**spriteplace** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​//​rotate_expr//​\\ +**spriteplace** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​[[floatexpressions|rotate_expression]]\\ 
-**spriteplace** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​//​rotate_expr// ​)+**spriteplace** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[floatexpressions|scale_expression]], ​[[floatexpressions|rotate_expression]] ​)
  
 ==== Description ==== ==== Description ====
 Place the center of a sprite at a specific location on the screen (x,y). Like [[imgload|Imgload]] sprite positioning is relative to the center of the sprite and not the top left corner as with most other graphical statements.\\ Place the center of a sprite at a specific location on the screen (x,y). Like [[imgload|Imgload]] sprite positioning is relative to the center of the sprite and not the top left corner as with most other graphical statements.\\
 \\ \\
-Optionally the sprite may be rotated or scaled by defining optional the //​rotate_expr// ​and [[floatexpressions|scale_expression]] parameters. ​ The degree ​//​rotate_expr// ​is measured in radians.+Optionally the sprite may be rotated or scaled by defining optional the [[floatexpressions|rotate_expression]] ​and [[floatexpressions|scale_expression]] parameters. ​ The degree ​[[floatexpressions|rotate_expression]] ​is measured in radians.
  
 ====Example==== ====Example====
en/spriteplace.txt · Last modified: 2016/08/13 12:00 by admin