Wrapping a singe actor

I am trying to simulate a game similar to Galaga. Everything is working great, however I have ran into a little speed bump. I am trying to get the "background" actor, which is a picture of stars, to wrap the screen, as if soaring through space. I have tried "Wrap Y" in the scene tab, but that makes the missiles fired from the player wrap as well. I have also tried creating walls and giving the missiles a rule that if they hit the wall they will be destroyed. It works, however once they are destroyed, they still attempt to wrap the screen. I notice a missile popping out from the bottom of the screen. I have also tried to set "self.position.Y" for the "background" actor to loop to the 0 position on axis Y once it has left the screen. Non of these methods seem to work for me. Any feedback would be greatly appreciated.

P.S. My display size has a width of 480 and a height of 320.

Comments

Sign In or Register to comment.