[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Shooting an image
I have this chunk of code that's should make the player shoot a torpedo, as long as their isn't another torpedo on the screen and the player has the space key down. Why dosen't this work:
if key[K_SPACE] and torpedorect.top < -600:
torpedorect.left = playerrect.left
torpedorect.top = playerrect.top
else:
torpedorect = torpedorect.move(0,-7)##############
=
Midwest Feather & Down: Featherbeds
Large selection - six different models of high-quality featherbeds at low discounted prices. Fast shipping.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=132fe998d0a15ac57dbbf9828753617e
--
Powered by Outblaze