Need Parallax Recipe help
QuinnZoneStudios
Member Posts: 452
Hi Saladeers,
After days of Wiki, Forum searching and playing with behaviors and expressions, I am unable to work out the precise steps needed to create my parallax background motion relative to the camera for my side scroller.
Note that it can't be relative to the player as sometimes he moves but the camera does not. So when the camera is static, then the background also needs to be static. I'm pretty sure there's a way to do this involving math and the expression editor but I just don't have enough info to figure it out and make it work.
It would be really nice if Gamesalad could create a standard starting point on the Wiki or a behavior that covers this as I suspect this could be used to great success by many with GS being 2D.
Perhaps there's a clever brain and friendly person at Gamesalad or in the community here who can help me?
Thanks in advance!
Gamesalad rocks!
Mike
After days of Wiki, Forum searching and playing with behaviors and expressions, I am unable to work out the precise steps needed to create my parallax background motion relative to the camera for my side scroller.
Note that it can't be relative to the player as sometimes he moves but the camera does not. So when the camera is static, then the background also needs to be static. I'm pretty sure there's a way to do this involving math and the expression editor but I just don't have enough info to figure it out and make it work.
It would be really nice if Gamesalad could create a standard starting point on the Wiki or a behavior that covers this as I suspect this could be used to great success by many with GS being 2D.
Perhaps there's a clever brain and friendly person at Gamesalad or in the community here who can help me?
Thanks in advance!
Gamesalad rocks!
Mike