I'm building a game with 3 layers of parallaxed background objects. They generate on the fly, out of the viewscreen, but I can't seem to determine how to check if they are out of screen from the spaceship which is always in the middle of the screen.
The parallax values get twisted each time a certain object is created in one of the paralax layers.
if Parallax is say 50,50 does that mean X and Y is X/2 and Y/2 ? If I compensated for the rest like that, would that theoretically work?
This is a space iphone game, and background moves and everything moves, while spaceship doesn't.