background_create_color - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Creates a rectangle background consisting of one color.
- w: width of the new background
- h: height of the new background
- col: color to fill the new background with
int: Returns the index of the new background created from color
//The following example creates a green 400px by 400px background and then draws it
mybg = background_create_color(400, 400, c_green, 1);
draw_background(mybg, 0, 0);
NOTOC