Re: [pygame] how to change my subscription settings?

2009-08-17 Thread Brian Song
http://blog.gmane.org/gmane.comp.python.pygame You can view everything there

Re: [pygame] Re: sprite.spritecollide

2009-08-15 Thread Brian Song
Follow up with this if len(colliding_with) is not 0: for sprite in colliding_with: #will go through each sprite in colliding_with #if your sprite has a unique ID like self.id try printing print sprite.id

Re: [pygame] sprite.spritecollide

2009-08-14 Thread Brian Song
colliding_with = pygame.sprite.spritecollide(x,y, 0) colliding_with is a list of all objects x is colliding in y

Re: [pygame] Pygame games run slowly :(

2009-07-30 Thread Brian Song
Toni, you make a good argument, but some of your points are a bit misleading. As for games not needing a lot of resources, your kind of off. Only reason ps3s have 512MB is that it doesn't have to worry about the many processes a computer OS requires. Plus the ram is top of the line (gddr3 / xdr)

Re: [pygame] Rect collision by direction

2009-06-06 Thread Brian Song
Diagonal collision detection seems to get a lot of people including myself the first time. If you haven't fixed it yet, the remedy will most likely require you to do 2 collision detections instead 1. Without looking at your code, I'm gonna assume your doing collision detection on both axis at

Re: [pygame] pygame.quit() not working after upgrade to python 2.6

2009-04-27 Thread Brian Song
Have you tried if event.type == pygame.QUIT: sys.exit() On Tue, Apr 28, 2009 at 1:22 AM, Thadeus Burgess thade...@thadeusb.comwrote: Is there any reason pygame.quit() hangs the application up? I am running python 2.6 on Ubuntu. It works on python 2.6 in windows. What, if any information

Re: [pygame] Never seen this before

2009-04-24 Thread Brian Song
If the problems fixed, yay. If not, you should put up most/all your source so it's easier for people to see whats happening.

Re: [pygame] move problems

2009-04-09 Thread Brian Song
Yea... Jakes method would do.. or you can just simplify it spaceship_speed = 10 if keys[K_LEFT]: x_move += -spaceship_speed if keys[K_RIGHT]: x_move += spaceship_self.speed rect = rect.move(x_move, 0) BTW... spaceship.speed=(spaceship.speed[0]-10, spaceship.speed[1]) is unnecessary. No