E
Ever_Valiant
Guest
I am coding the background to scroll without using the default room settings to avoid the *jittering*, but how do I draw the background from what is set within the room?
I want to have this:
draw_background_tiled(bg_mountains,view_xview,view_yview)
But have the code taken from what is set in the room background[0].
This is what I have but doesnt work:
draw_background_tiled(background_get_name(background_index[0]),view_xview,view_yview)
That way I just set the background I want in each room but have a controller object draw it and do the rest.
I want to have this:
draw_background_tiled(bg_mountains,view_xview,view_yview)
But have the code taken from what is set in the room background[0].
This is what I have but doesnt work:
draw_background_tiled(background_get_name(background_index[0]),view_xview,view_yview)
That way I just set the background I want in each room but have a controller object draw it and do the rest.