I'm implementing a simple asteroids clone in PyGame, using sprites for the player's ship and the asteroids. I can draw and move the sprites without any problems, but I can't figure how to do wrap- around, so that when a sprite goes off one side of the screen it comes on the other. Can anyone offer any pointers?

Thanks,

Malcolm

     "The act of defending any of the cardinal virtues has today all
      the exhilaration of a vice."
- G.K.Chesterton A Defense of Humility



Reply via email to