[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Diffefrences between sprite.Group and sprite.RenderUpdates (and Group.draw question)



Hi all.

Reading pygame docs I found an example using a group that store all
sprites defined as a RenderUpdates, not simple Group.

The pydoc of this class don't give me much infos. Can someone explain
me what is the difference?

I found this because I'm having some problems with a game I'm
developing. The call of

    all.draw

(where "all" is for now a RenderUpdates instance) draw sprites on the
screen in some order. There is a way to control the order of sprites
drawed on screen? I like to blit images ordered on Y position on the
screen.

Any help will be really appreciated!

-- 
-- luca