GM: draw sprite ext
From GMpedia.org Wiki
Portions of this article were assimilated from the content at Game Maker Documentation].
Feel free to continue to modify and expand this page, but please leave this notice and any licence notices in-tact.
Feel free to continue to modify and expand this page, but please leave this notice and any licence notices in-tact.
- The correct title of this article is draw_sprite_ext(). It appears incorrectly here because of technical restrictions.
|
draw_sprite_ext | |
| Type: | function |
| Arguments: | 1: sprite 2: sub image 3: x position 4: y position 5: x scaling 6: y scaling 7: angle 8: color 9: alpha blending |
| Limitations: | none |
draw_sprite_ext(sprite,subimg,x,y,xscale,yscale,rot,color,alpha) 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).
draw_sprite_ext(sprite_index,image_index,x,y,image_xscale,
image_yscale,image_angle,image_blend,image_alpha)

