GM: draw surface ext
From GMpedia.org Wiki
- The correct title of this article is draw_surface_ext(id,x,y,xscale,yscale,rot,color,alpha). It appears incorrectly here because of technical restrictions.
- The correct title of this article is draw_surface_ext(). It appears incorrectly here because of technical restrictions.
Arguments
id = name of the variable which holds the ID of the surface (see surface_create).
x = Left position of surface to be drawn.
y = Top position of surface to be drawn.
xscale = Horizontal scaling of surface.
yscale = Vertical scaling of surface.
rot = Rotated angle (in degrees) of surface.
color = Colour blending color.
alpha = Transparency of surface.
Limitations
must be in Draw Event.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
This function draws a surface with the given ID on the screen in the position x,y. with its width scaled to xscale (where 1=no change) and its height scaled to yscale (where 1=no change) and is rotated with rot degrees, with the color blending of color and transparency of alpha (where 1=opaque).
[edit] See Also
- Surfaces - a complete Game Maker tutorial in surfaces.
See the talk page for details

