Hey everyone. I have a multiplayer option in my game, and I have it to where if the players are too far from each other horizontally then the 4 parallax layers scale out smoothly:
<img src="http://postimg/image/4vis3ws8t/" border="0">
Link if image is broken
This works perfectly and looks great. However, when I try to enter the same for the Y axis, they begin conflicting with eachother. The Y axis may want to zoom out but the X axis may want to zoom in. I'm not sure how to solve this.
How can I have it scale the layers based on both the x and the y axis, rather than the two axis fighting for control over the scaling?