You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

Graphics :: Surfaces

Here you will find scripts for drawing and using surfaces in various ways.

draw_surface_center(surface, cx, cy)
Draws surface centered at given point.
draw_surface_center_ext(surface, cx, cy, xscale, yscale, rot, color, alpha)
Draws surface centered at given point with scaling, rotation, and blending.
draw_surface_center_rotate(surface, cx, cy, rot)
Draws surface centered at given point with rotation.
surface_create_clear(width, height, color, alpha)
Creates surface cleared with given color and alpha values.