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.
Simpson55
Koopa
Members
Iso Collab Contributor Sprite Comp Top 5 Minigame Comp Winner MFGG 18th Anniversary Ye Olde MFGGe Retro Game Jam Participant
#2
05-25-2021, 12:41 AM
You have to give more information about your code.
Did you define background[0] and background[1] in the room editor or in the code?
You should also make sure that both backgrounds are set to "repeated".
As for the speed, you can tweak the 0.4 and 0.6 constants until it looks about right. The lower the constant is, the faster the scrolling will be.

  ↳
« 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