Parallax background disappears

Hello all,
I'm currently working on a game for a college project
What I need for an A is a Parallax background effect, which I have achieved by having 3-4 different layers of background, their X attributes controlled by the scenes camera origin using this mathematical formula:
Constrain
Self.positionX to -scene.camera.origin/n (n being the speed I want)

This works brilliantly, it's a very nice effect. But it dissapears towards the end of the scene, it'll be cut off so the tiled graphic will stop then vanish, the scene is 4000 pixels in width and the graphic is 9000 (we tried smaller numbers and higher numbers but they always cut off then vanish) can Gamesalad not handle this? even with the graphic at a slower speed it always cut off at about 3800 pixels give or take.
The graphic in size i very small, an optimized PNG. So I wouldn't think data would be an issue.
The weird thing is when we used to two bits of code in the actor (parallax one) that instead made it move by accelerating depends which direction you're going in, and they were turned off, once published the parallax worked fine... I really don't understand this lo

Comments

Sign In or Register to comment.