Variable that determines if a background should be tiled vertically or not.



Returns: Real


By setting this variable array to true you can tell GameMaker: Studio to tile the background image for the selected background along the vertical plane. This will make any moving backgrounds appear infinite, or simply repeat the same image over the height of the room if it is a static background. Setting this to false will disable tiling.


if background_vtiled[0]
   background_vspeed[0] = 2;

The above code checks background0 to see if it is tiled vertically, and if it is it then sets the vertical scroll speed to 2.

Back: Backgrounds
Next: background_width
© Copyright YoYo Games Ltd. 2018 All Rights Reserved