The Existing Scene:
I currently have a Main Menu scene set up with a title, 2 buttons, and a background.
The background consists of 2 separate images: a blue sky, and a collection of buildings.
I want to add a parallax effect to the buildings so that they move slightly as the mouse moves, following its screen position.
After creating a new class, I add some variables:
Now for the methods which create the effect: