draw_background(back, x, y);
| Argument | Description |
|---|---|
| back | The index of the background to draw. |
| x | The x coordinate of where to draw the background. |
| y | The y coordinate of where to draw the background. |
Returns: N/A
With this function you can draw any of the game's background assets at a given position within the room, with the top left corner of the image being drawn at the specified x/y position.
draw_background(bck_Sky, view_xview[0], view_yview[0]);
The above code draws the background indexed in "bck_Sky" at same position as view[0].