I have a scrolling background, but that's all I want to wrap. When i turn on the x wrap it's wrapping everything. I have tried creating different attributes but no solution. Please help.
this download shows a method that might work for you .. in it the background is moved instead of wrapping. This spawns and destroys the background actors.
A better way might be to have numerous seemless background panels and when one moves offscreen to a certain X position then reset its self.position.x to an x position on the other side of the screen so it moves in again. Would have to play a bit with the numbers to get it right but would help if spawning was effecting your fps.
Comments
http://gamesalad.com/game/3623
A better way might be to have numerous seemless background panels and when one moves offscreen to a certain X position then reset its self.position.x to an x position on the other side of the screen so it moves in again. Would have to play a bit with the numbers to get it right but would help if spawning was effecting your fps.