good info, thanks. I'm going to experiment with them both.
On Sun, Jan 15, 2012 at 1:18 PM, Rastagong 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 of your game.
>
>
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
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 wrote:
> Oops, got my rect width argument wrong... Never mind.
Oops, got my rect width argument wrong... Never mind.
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 it?