[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Hashido



Going on on that subject:

Moving very large pictures on the screen is it fundamentally slow?
Or do i do something wrong?

basically i have some surfaces
s1,s2

and I do

screen.fill((210,210,210))
screen.blit(s1,(x,y))
screen.blit(s2,(x,y))
pygame.display.flip()

on a double buffered screen.

With 2 big surface (around 300,300) each... it is ok.
But as soon as I reach 3 surfaces I have a clear slow down.
should I lock the screen before doing my 3 blits?
Would I gain substantial speed?

should I erase independantly the 3 surfaces?


Ah I miss my good old amiga..... erasing with so easy! with the hardware
blitter and even the floppy DMA... ;)

Guillaume


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org