05-24-2021, 10:29 PM
(This post was last modified: 05-24-2021, 10:49 PM by Videogamejunkie443.)
I got code for parallax scrolling from this youtube video: Game Maker Controlled Parallax Scrolling Tutorial - YouTube, but I want the backgrounds to scroll at the same speed as in SMB1 in Super Mario All-Stars. I would like somebody to modify the code to meet these conditions. here's the code:
background_x[0] = view_xview[0] * 0.6
background_x[1] = view_xview[0] * 0.4
Thank you.
I think the above code is it, but I don't know.
background_x[0] = view_xview[0] * 0.6
background_x[1] = view_xview[0] * 0.4
Thank you.
(05-24-2021, 10:29 PM)dreemurr555 Wrote: I got code for parallax scrolling from this youtube video: Game Maker Controlled Parallax Scrolling Tutorial - YouTube, but I want the backgrounds to scroll at the same speed as in SMB1 in Super Mario All-Stars. I would like somebody to modify the code to meet these conditions. here's the code:
background_x[0] = view_xview[0] * 0.6
background_x[1] = view_xview[0] * 0.4
Thank you.
I think the above code is it, but I don't know.