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
Apr 19, 2014

Apr 16, 2014


Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

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