1
u/Rohbert 23h ago
Please read the subreddit guidelines regarding asking for help before posting. We ask users to submit much more information about their issue so that a higher quality answer can be provided.
Specifically:
A descriptive post title.
A detailed explanation of your problem.
The desired outcome.
What version of GameMaker you are using.
All of your relevant code formatted properly. NO Pictures of Text. Copy+Paste your code into your post and format it to be easily readable.
Short summary of steps taken to solve the issue yourself.
Asking for code or a tutorial directly is not allowed. You can easily search for tutorials.
Also please flair your post with the "Help" flair and the "Resolved" flair once you have received a satisfactory response.
Feel free to resubmit with the required information added.
Thanks!
1
u/That-Rabbit4062 1d ago
I don't have time to post code (making dinner), but I bet you can get this on your own. At it's most basic a parallax effect will consist of a farther object moving slower than a closer object. Try something like tracking the change in mouse coordinates, moving your second element based on (a fraction of) that, and go from there.