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

[SOLVED] Re: [pygame] speed problem: max 6 fps



Hi,

FYI: I solved my speed problem: it was:

> 	background = pygame.Surface(wereld.world.get_size()).convert()
                                ~~~~~~~~~~~~~~~~~~~~~~~
> 		wereld.world.blit(background, (0,0))
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When the world is 4000 x 4000, it keeps blitting an image of
4000 x 4000... I fixed this, it now only blits an image of
size 'res'.

Thanks though!

yours,
Gerrit.

-- 
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
	http://www.sp.nl/
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org