Parallax Scrolling with Orthographic Camera?

Currently working on a side scrolling game with classmates for our major project in university, so far we’ve been playing around with different camera perspectives and really love the Orthographic viewpoint for the aesthetic we want to go for.

My question is, how can we get parallax scrolling working with the orthographic camera? Or at least take all of the perspective out of the perspective camera so it has the same effect, but objects in the foreground/background move at a different rate than the focal point?

To simulate perspective in an orthographic view, you need to counter animate the foreground and background elements separately. This is how we used to do it back in the days of 2D.

You need to translate foreground/background objects in a direction OPPOSITE to the camera movement.

Background elements should translate slower than the camera, foreground elements should translate faster than the camera. You can also stack the layers up. Layers farther back should get progressively slower, layers closer to the camera should get progressively faster.

Okay, I understand, just not sure how to go about setting that up. We’ll try play around and experiment, thanks!

Have you guys looked at the “Tappy Chicken” example game? It’s free on the Asset Store.

I’ll take a look for that now! The Unreal 4 Asset Store, correct?

It might be worth mentioning that we’re still building all our objects in 3D, it was originally going to be a 2.5D scroller with perspective camera, but we really like how it looks in Orthographic.

That’s totally fine. You can stick all your 3D objects into one blueprint and translate them all together. Start by looking at the “Event Tick”, “Get/Set Actor Location”, and “Vector * Float” blueprint nodes.

Ok cool, thanks very much for all your help!