draw_sprite_ext(spr,subimg,x,y,xscale,yscale,rot,col,alpha)
From YoYoGames Wiki
Description
Draws the sprite scaled with factors xscale and yscale and rotated counterclockwise over rot degrees. color is the blending color (use c_white for no blending) and alpha indicates the transparency factor with which the images is merged with its background.
Arguments
- spr (real): sprite
- subimg (real): sub image
- x (real): x position
- y (real): y position
- xscale (real): x scaling
- yscale (real): y scaling
- rot (real): angle
- col (real): color
- alpha (real): alpha blending
Explanation
Draws the sprite scaled with factors xscale and yscale and rotated counterclockwise over rot degrees. color is the blending color (use c_white for no blending) and alpha indicates the transparency factor with which the images is merged with its background. A value of 0 makes the sprite completely transparent. A value of 1 makes it completely solid. This function can create great effect (for example partially transparent explosions).
To draw the current sprite in its normal form (as would happen if there was nothing in the draw event), you can use
draw_sprite_ext(sprite_index,image_index,x,y,image_xscale,
image_yscale,image_angle,image_blend,image_alpha)
Remarks
Only available in the Pro Edition.

