Draws a background at a given position, and tiles it to fill the entire view.


GML Code Example

draw_background_tiled(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


This function will take a background and then repeatedly tile it across the whole view (or room if no view is defined), starting from the coordinates that you give in the function.


GML Code Example

draw_background_tiled(bck_Sky, x, y);

This will draw the background indexed in "bck_Sky" at the instances own x and y position, and tiled in every direction in the view.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here