• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Parallax background doesn't work.

E

Edwin

Guest
Please help!

I have a controller object, that controls parallax.

obj_controller's Step Event:
Code:
background_x[0] = view_xview[0] / 4;
background_x[1] = view_xview[0] / 2;
Why does it's not working?
 

TsukaYuriko

☄️
Forum Staff
Moderator
Are you using GMS 2 and have been using 1.x until recently, by any chance? background_x is no longer a default variable due to changes in the underlying functionality of the background system (now replaced by the layer system).
 
E

Edwin

Guest
Are you using GMS 2 and have been using 1.x until recently, by any chance? background_x is no longer a default variable due to changes in the underlying functionality of the background system (now replaced by the layer system).
I'm using GameMaker Studio 1.4
 
Top