pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
layeredupdates.py

layeredupdates.py - 1.0

Andy Sommerville (aksommerville)

Tags:

Description

I got tired of trying to control my sprites' relative layers with an OrderedUpdates, so I wrote this alternative. It works just like Ordered- or Render- Updates, but each sprite must have a "layer" attribute. That's an integer describing its position relative to other sprites. Lowest is drawn first. Where two sprites have the same layer, the one whose bottom is highest is drawn first.

Links

Home Page: http://aksommerville.googlepages.com/soct.html
Source: http://aksommerville.googlepages.com/layeredupdates.py

Releases

layeredupdates.py - 1.0 - Sep 13, 2007

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

May 5, 2008 3:32pm - DR0ID - nickname: (dr0id)
a name clashe I guess ;-), it is now in pygame1.8
November 9, 2007 7:12pm - Andy Sommerville - nickname: (aksommerville)
I hadn't heard.... If these are being included in the official release, I'd go ahead and stop using layeredupdates.py anyway.
September 14, 2007 1:37am - Claudio Canepa - nickname: (claxo)
In pygame 1.8 there are comming also layered updates, with the same name I think. ( seen on the pygame mailing list, also at
http://dr0id.homepage.bluewin.ch/pygame_projects.html#fast_dirty1 )
Name clashes ?
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 21, 2014


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)