[Edu-sig] Making solid sprites.

Pauljonad at aol.com Pauljonad at aol.com
Tue Apr 17 16:43:37 CEST 2007

I'm writing a simple game in Python with Livewires.
I have a couple of sprites in my game, but I want them to be solid so that  
my character doesn't run over them, but is stopped when he runs into them and 
so  that the flying sprites rebound of it as they do against a wall.
I have a 'Phantom' as the main character and a Piano as the other  sprite.
I think I have to use (in Piano class):
for Phantom in self.overlapping_sprites:
.... something, I'm not sure. Any help would be appreciated. 
Adam Moss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/edu-sig/attachments/20070417/73f6536d/attachment.htm 

More information about the Edu-sig mailing list