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.


![[Image: khxp.png]](https://www.zupimages.net/up/21/21/khxp.png)

Spoiler
![[Image: Vb8vjwW.png]](https://imgur.com/Vb8vjwW.png)
![[Image: uIrDfRP.png]](https://imgur.com/uIrDfRP.png)
![[Image: Jd3PZ8y.png]](https://imgur.com/Jd3PZ8y.png)
![[Image: BvmA5Pf.png]](https://i.imgur.com/BvmA5Pf.png)
![[Image: LAKfOPp.png]](https://imgur.com/LAKfOPp.png)
![[Image: 10CGjip.png]](https://imgur.com/10CGjip.png)
![[Image: gEIdmj2.png]](https://i.imgur.com/gEIdmj2.png)
![[Image: 8GCySLU.png]](https://i.imgur.com/8GCySLU.png)