MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Developer Discussion v
« Previous 1 2 3 4 5 6 … 16 Next »
I found a tutorial for parallax scrolling, and i have code, but i have a new problem.
MFGG Forums MFGG Developer Discussion v
« Previous 1 2 3 4 5 6 … 16 Next »
I found a tutorial for parallax scrolling, and i have code, but i have a new problem.
MFGG Forums MFGG Developer Discussion v
« Previous 1 2 3 4 5 6 … 16 Next »
I found a tutorial for parallax scrolling, and i have code, but i have a new problem.
Mark All Posts Read Today's Posts

I found a tutorial for parallax scrolling, and i have code, but i have a new problem.
Videogamejunkie443
Hammer Bro
Members
#5
05-25-2021, 12:31 PM
(05-25-2021, 12:04 PM)Simpson55 Wrote: They do need to repeat!
[Image: khxp.png]
See, the background position is view_xview[0] * C, where C is a constant between 0 and 1. Thus the background's position is always to the left of the view. So if you don't enable the repetion, the background won't be visible.
By the way, I'm not familiar with Hello Engine but isn't there already an option for parallax scrolling?

As I said, the backgrounds repeat, so I don't need to worry. And if the engine already has a way to make the background scroll like that, I couldn't find the code that let's me do it, so I made a custom object that does just that.

  ↳
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Videogamejunkie443 - 05-24-2021, 10:29 PM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Simpson55 - 05-25-2021, 12:41 AM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Videogamejunkie443 - 05-25-2021, 10:25 AM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Simpson55 - 05-25-2021, 12:04 PM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Videogamejunkie443 - 05-25-2021, 12:31 PM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Simpson55 - 05-25-2021, 05:09 PM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Videogamejunkie443 - 05-25-2021, 06:15 PM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by OssieTheOstrich - 05-26-2021, 03:41 AM
RE: I found a tutorial for parallax scrolling, and i have code, but i have a new problem. - by Gate - 05-26-2021, 03:59 AM

  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode