- Home /
How to reproduce iOS 7 parallax backgrounds
I want to add tilt parallax effect (same as on iOS 7) in menu of the game and can't figure out how to do that. Could anyone put me on write direction, please?
Answer by unmaxim · Aug 14, 2013 at 10:04 AM
yep, I saw that link; the problem is that they use gyro I think (they have angles from Gyroscope); but I need to make it multiplatform so should use Accelerometer because gyro doesn't exist on all android devices... so, any other ideas/thoughts?
Answer by samuilovaa · Jun 02, 2014 at 03:02 PM
To reproduce parallax effect you can use True Parallax asset.
Answer by tonydincau · Nov 09, 2014 at 10:32 PM
I've created some scripts to achieve the iOS parallax effect using the accelerometer for iOS and Android. One script controls the parallax background and one rotates the foreground objects to achieve a realistic looking 3D effect. You can find them here. Hope you enjoy!