Odolwa
Member
I want to use the 'draw_background_ext' function to define my background sprite, but I don't seem to have the option to set the index without it operating by the values set in the Room Editor Backgrounds Tab. For instance:
Draw Begin Event:
With the above code, the first line draws the background sprite according to the values I set in the Room Editor at index 2, whereas the second line is drawing a second version of the same sprite behind another background I've set at index 0. What do I need to do to have the background drawn via the function be moved forward from 'background_index[0]' to 'background_index[2]'? Thank you.
Draw Begin Event:
Code:
background_index[2] = bgr_1;
draw_background_ext(bgr_1, view_xview[0], view_yview[0], 1, 1, 0, c_white, 1);