|
draw_background() - Draws a background at position (x,y) in the room. Syntaxdraw_background ( back, x, y );
Explanationdraw_background() draws a background at position (x,y) in the room during run time. The background image is defined in the background resources by the programmer. The background image need not be the same size as the room. ExamplesSeasons ChangeBy creating a background of each season that you wish to depict, you would be able to change the seasons by changing the background. Make sure that the background images are the same size. Keep in mind that this only effects the background and further coding would need to be done if wanting to change the sprite images for the objects to reflect the season. The following would be placed into a draw event of an object.
|
Related Pages
Backlinks |
Draw Background