User Tools

Site Tools


en:spriteslice

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:spriteslice [2016/08/12 11:37]
admin
en:spriteslice [2016/08/12 11:38] (current)
admin
Line 2: Line 2:
  
 ==== Format ==== ==== Format ====
-**spriteslice** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[numericexpressions|width]], ​//​height_expr//​\\ +**spriteslice** //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[numericexpressions|width]], ​[[numericexpressions|height]]\\ 
-**spriteslice** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[numericexpressions|width]], ​//​height_expr// ​)+**spriteslice** ( //​sprite_number//,​ [[numericexpressions|x_position]],​ [[numericexpressions|y_position]],​ [[numericexpressions|width]], ​[[numericexpressions|height]] ​)
  
 ==== Description ==== ==== Description ====
-Copy the rectangular region of the screen with it's top left corner represented by [[numericexpressions|x_position]] and [[numericexpressions|y_position]] of the specified ​//​height_expr// ​and [[numericexpressions|width]] and create a sprite. ​ The sprite will be active and movable but will not be visible until the Spriteshow statement is executed. ​ It is recommended that you execute the [[clg|Clg]] command before drawing and slicing the sprite. ​ All unpainted pixels will be transparent when the sprite is drawn on the screen. ​ Transparent pixels may also be set by drawing with the color CLEAR.+Copy the rectangular region of the screen with it's top left corner represented by [[numericexpressions|x_position]] and [[numericexpressions|y_position]] of the specified ​[[numericexpressions|height]] ​and [[numericexpressions|width]] and create a sprite. ​ The sprite will be active and movable but will not be visible until the Spriteshow statement is executed. ​ It is recommended that you execute the [[clg|Clg]] command before drawing and slicing the sprite. ​ All unpainted pixels will be transparent when the sprite is drawn on the screen. ​ Transparent pixels may also be set by drawing with the color CLEAR.
  
 ==== See Also ==== ==== See Also ====
en/spriteslice.txt · Last modified: 2016/08/12 11:38 by admin