Re: [pygame] a little help

2012-01-15 Thread Zack Baker
That email brings me too a question I've had for awhile now. What is better to use pygame.display.flip() or pygame.display.update()? -Zack On Jan 14, 2012, at 11:48 PM, Silver rockac...@gmail.com wrote: Oops, got my rect width argument wrong... Never mind.

Re: [pygame] a little help

2012-01-15 Thread Rastagong
pygame.display.update() affects only a part of the screen, whereas pygame.display.flip() updates the whole screen. Therefore, using update() can increase the perfs of your game. However, if you update many parts of the screen at the same time (for instance when you use scrolling, or when you load

Re: [pygame] a little help

2012-01-15 Thread Sean Wolfe
good info, thanks. I'm going to experiment with them both. On Sun, Jan 15, 2012 at 1:18 PM, Rastagong rayman3...@gmail.com wrote: pygame.display.update() affects only a part of the screen, whereas pygame.display.flip() updates the whole screen. Therefore, using update() can increase the perfs

[pygame] A little help please

2012-01-14 Thread Silver
I need some help with a program that I'm trying to write with pygame. I am having two issues: * the squares aren't being drawn 1 px small so that they leave a black grid * the squares on the edges are extending, even though I don't think I told them to. anyone know how to fix

[pygame] a little help

2012-01-14 Thread Silver
Oops, got my rect width argument wrong... Never mind.