|
pygame is
pygame.org is
|
layeredupdates.py
layeredupdates.py - 1.0Andy Sommerville (aksommerville)Tags:DescriptionI 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. LinksReleases| layeredupdates.py - 1.0 | - Sep 13, 2007 |
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
May 23, 2013
May 22, 2013
May 21, 2013
May 19, 2013
May 18, 2013
May 17, 2013
May 16, 2013
May 15, 2013
May 11, 2013
... more!
|
|