Background Overlays / Depth

N

NoFontNL

Guest
Is there a way to change the draw order of backgrounds?

Thanks in advance.
 
N

NoFontNL

Guest
Side note, in the GameMaker room editor everything looks fine, but in game it does not
 
N

NoFontNL

Guest
Hmm, then there might be another problem.
You see, I've done this and it shows correctly in the room editor.
But in game, the background[0] loops instead of being drawn only at the bottom.
I have one background[0] which is not vertically tiled and it's y position is at the bottom of the room (so that it fits on screen)
Then I have background[1] which is vertically tiled. But background[0] is on top of it, as it's supposed to, but it loops too
 

pipebkOT

Member
if the problem is that it loops /tiled , change the layer settings in the room editor so it doesn't tile



and in the sprite editor too

 
Last edited:
N

NoFontNL

Guest
I'm using GMS1.4
So I changed the settings in the background, and the settings in the room and it still occurs.
 
N

NoFontNL

Guest
Also, when doing backgound_index[1] =-1 and also when doing background_visible[1]=false, then the background is still there.
 
N

NoFontNL

Guest
I found a workaround, it's not a fix to this problem however.
I made a seperate object which draws the background.
 
Top