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

Re: [pygame] right click and other stuff



mrfaro@libero.it schreef op vrijdag 14 februari om 11:49:22 +0000:
> How can I create a scroller for my map??Anyone has a tutorial, an example or something else?? I need a scrolling background that scrolls following the position of a sprite: so if it's going left, the map scrolls left, if it's going right tme map scrolls right and so on...

I have a srcrect for scrolling. I draw my objects on a 'world'
surface, and I manage a 'srcrect' which I use to blit on the
display surface.

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