draw_surface_tiled(id,x,y)

id = name of the variable which holds the ID of the surface (see surface_create).

x = Left position of surface to be tiled.

y = Top position of surface to be tiled.

 

Example

draw_surface_tiled(surface,32,16);

 

This function draws a surface with the given ID on the screen in the position x,y tiled to that it will fill the entire room.

 

esh_corp11 - Revision #1