MFGG Forums
I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Printable Version

+- MFGG Forums (https://forums.mfgg.net)
+-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4)
+--- Forum: Developer Discussion (https://forums.mfgg.net/forumdisplay.php?fid=10)
+--- Thread: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. (/showthread.php?tid=2694)



I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Videogamejunkie443 - 05-23-2021

It's easy in Hello Mario Engine 6 Fan-Made, and it looks like there might be a similar way to do it in Hello Mario Engine for Game Maker Studio, but i don't know it.


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Vert - 05-24-2021

Wasn't this a built-in feature in GMS? Pretty sure you can set the horizontal speed for a background and it should do what you ask.


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Videogamejunkie443 - 05-24-2021

(05-24-2021, 01:09 PM)Vert Wrote: Wasn't this a built-in feature in GMS? Pretty sure you can set the horizontal speed for a background and it should do what you ask.

I think what I'm trying to do is called Parallax Scrolling? I don't really know what it's called, but I do know what it looks like.


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Vert - 05-24-2021

(05-24-2021, 02:45 PM)dreemurr555 Wrote:
(05-24-2021, 01:09 PM)Vert Wrote: Wasn't this a built-in feature in GMS? Pretty sure you can set the horizontal speed for a background and it should do what you ask.

I think what I'm trying to do is called Parallax Scrolling? I don't really know what it's called, but I do know what it looks like.

Yeah, I know what you mean. I'm pretty sure if you tinker with the horizontal speeds in a background's settings you can make them scroll faster.


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Videogamejunkie443 - 05-24-2021

(05-24-2021, 03:22 PM)Vert Wrote:
(05-24-2021, 02:45 PM)dreemurr555 Wrote:
(05-24-2021, 01:09 PM)Vert Wrote: Wasn't this a built-in feature in GMS? Pretty sure you can set the horizontal speed for a background and it should do what you ask.

I think what I'm trying to do is called Parallax Scrolling? I don't really know what it's called, but I do know what it looks like.

Yeah, I know what you mean. I'm pretty sure if you tinker with the horizontal speeds in a background's settings you can make them scroll faster.

What I'm trying to do is make the backgrounds scroll with the camera, but at a slower speed. Right now the backgrounds move at the same speed, and not at a slow one. I'm trying to make a level that's somewhat accurate to the All-stars version of SMB1.


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Vert - 05-24-2021

https://github.com/OSA413/Garbage/tree/master/programs/gml/scrolling_background

Try this?


RE: I Need help making backgrounds move at different speeds in Hello Mario Engine GMS. - Videogamejunkie443 - 05-24-2021

(05-24-2021, 04:59 PM)Vert Wrote: https://github.com/OSA413/Garbage/tree/master/programs/gml/scrolling_background

Try this?

Sorry, but I'm still new, so i don't know how to merge projects.

(05-24-2021, 05:17 PM)dreemurr555 Wrote:
(05-24-2021, 04:59 PM)Vert Wrote: https://github.com/OSA413/Garbage/tree/master/programs/gml/scrolling_background

Try this?

Sorry, but I'm still new, so i don't know how to merge projects.

I'm looking for code similar to the code in the image provided that will move the backgrounds.


This forum uses Lukasz Tkacz MyBB addons.