Graphics :: Surfaces
Here you will find scripts for drawing and using surfaces in various ways.
- draw_surface_center(id,x,y)
- Draws a surface centered at a given point.
- draw_surface_center_ext(id,x,y,xscale,yscale,rot,color,alpha)
- Draws a surface centered at a given point with rotation, scaling, and color and alpha blending.
- draw_surface_center_rotate(id,x,y,rot)
- Draws a surface centered at a given point and rotated.
- surface_create_clear(width,height,color,alpha)
- Creates a surface of a given size, cleared to a given color and alpha.