background following the viewport

L

lionheard

Guest
I want my background to stay focused on the screen as the viewport moves. I have tried draw event but when I start the game the background goes above everything and the only thing I see is the background.
 

TheouAegis

Member
GM8,GMS1, or GMS2?

You can draw the background in the begin draw event in GMS1.

In GM8 you can set background_x in the End Step event maybe.
 

TheouAegis

Member
Well you could still use the begin draw event.

You could try moving the layer it's on. The Begin Draw probably still the easiest method, though.
 
Top