draw_surface_tiled_ext(id,x,y,xscale,yscale,color,alpha)

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.

color = Colour blending color.

alpha = Transparency of surface.

 

Example

draw_surface_tiled_ext(surface,32,16,.5,.75,c_white,.6);

 

This function draws a surface with the given ID on the screen in the position x,y. The surface will be drawn to fill the entire room. Its width is scaled to xscale (where 1=no change) and its height is scaled to yscale (where 1=no change). It is drawn with a color blending value of color and transparency value of alpha (where 1=opaque).

 

esh_corp11 - Revision #1