Could this type of Parallax background be made in GS?
Hello all, I was just curious if this type of background could be created in GS. I like to give myself little projects and try to mimic something I like... but I have been unsuccessful in recreating this. I have done parallax when it is scrolling from left to right. But up and down and left to right is tricky it seems. Are there any tips or has anyone done this so I can see an example?
![](https://img.youtube.com/vi/dEQaYN5Eh_Q/0.jpg)
Thanks!
Rob
![](https://img.youtube.com/vi/dEQaYN5Eh_Q/0.jpg)
Thanks!
Rob
Best Answer
-
dmilinovichiii Posts: 620
This is definitely possible. I have done it in many games of mine. You need to put an actor on the scene and edit the instance of it instead of the prototype. You need to use it to constrain the camera x and y positions to two game attributes. Then you constrain the background images' x and y positions to the two game attributes. You will have to try different things for the math, but it could look similar to the video. Maybe someone else can explain it better.
Answers
I got a neat effect from making the bg move when I hit the main actor movement keys, but then If I hit a wall the BG still goes... so it doesn't work. But the challenge of mimicking it is fun.
http://itunes.apple.com/us/app/tigerfish/id384742303?ls=1&mt=8
http://marcosriffel.com/
www.marcosriffel.com
Curious how you achieved your effect, but it looks awesome!