Endless Background Help

GannuscioGannuscio Member Posts: 36
edited January 2012 in Tech Support
Hello Everyone,

I am having an issue with creating an endless background. I understand the principles involved in having two separate images moving left to right and then changing their x attribute when they reach a certain point.

The problem I am having is that the actor is automatically destroying itself before it is completely off the screen. What I mean by this is that I have a 1024 x 300 image and it is moving to the left and I have setup some test attributes to see how far it was making it off the screen. It is being killed at around -500x and doesn't make it all the way to -512.

With the above mentioned, I cannot setup a rule to move the image for the scrolling background because it isn't even making it completely off the screen. Something like the following:

Rule: self.image.x < or equal to -512
change attribute: self.image.x to 1025

Has anyone else seen this and if this a workaround that someone can help me with?

I have a game on the app store right now and I need a fix asap as I don't want to rack up bad reviews for the background being messed up.

Thanks in advance.

Brian
Sign In or Register to comment.