Take a look at this:
#! /usr/bin/python
for more details on sprites and groups, see
1) http://www.pygame.org/docs/ref/sprite.html
2) http://www.pygame.org/docs/tut/SpriteIntro.html
3) http://www.sacredchao.net/~piman/writing/sprite-tutorial.shtml (
might want to read this before #2 )
example
hi!
recently i coded this humble snipped using sprites from subsurfaces:
http://pastebin.com/f2b05bf70
the question is: it seems to be simple working with just 4 different
sprites, one in each variable - but when they are hundreds or
thousands, this task become to be very boring - can we store
Hi,
Take a look at the group classes. This lets you manage the sprites easily.
http://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Group
-Tyler
On Tue, Jul 7, 2009 at 8:55 AM, Paulo Silva nitrofur...@gmail.com wrote:
hi!
recently i coded this humble snipped using sprites from
hi!
recently i coded this humble snipped using sprites from subsurfaces:
http://pastebin.com/f2b05bf70
the question is: it seems to be simple working with just 4 different
sprites, one in each variable - but when they are hundreds or
thousands, this task become to be very boring - can we store
@TyleLaing
but do you know where can i find working snippets with sprite groups,
like this one i sent? http://pastebin.com/f2b05bf70
(or how sprite group classes can be easily implemented there, if you
or someone don't mind... :| )
thanks a lot! :)
On 7/7/09, Paulo Silva nitrofur...@gmail.com