pygame is
Simple DirectMedia Layer is
Site Swing

stdtools - 0.5

Hugo Arts (hugo)



This package is a collection of tools I use in my other projects. The following is included:

  • ModelView class handling the game
  • EventManager
  • primitive GUI elements (incomplete)
  • 2D vector class supporting vector arithmetic
  • basic collision detection using rects
  • resource handling classes (images, sound)
  • basically, one of the dozens of utility libraries for pygame out there. Everyone writes their own, right? the package is not really organized. The init file is a mess, and the files have long and wordy names. This will change as soon as I have the time.

    Also see my blog for a tiny sample of the event manager, and the PyngPong project for a look at how all this stuff should work.


    Home Page:


    stdtools - 0.6 - Apr 3, 2008
    stdtools - 0.5 - Mar 25, 2008 account Comments

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

    April 11, 2008 6:43pm - Hugo Arts - nickname: (hugo)
    as a followup, I have also submitted a bug report, and I believe the issue can be easily fixed by throwing a more understandable exception instead of segfaulting.
    April 11, 2008 7:14am - Hugo Arts - nickname: (hugo)
    Alright, I've figured out that the error is actually a segmentation fault in the python interpreter. This was caused by trying to blit the screen onto itself. This apparently works under linux, but not windows. I'll be posting a fixed version here as soon as I can. If you can't wait:

    open stdtools/, and find the Screen class. Add this method:
    def render(self, surface):
    April 10, 2008 11:08am - pymike - nickname: (pymike)
    I'm running windows, and I get just a runtime error. I have pygame 1.8.0 and python 2.5.1. Weird bug.
    April 5, 2008 10:35pm - Hugo Arts - nickname: (hugo)
    well I installed the 1.8.0 release, and the package still works perfectly fine with me. Is there no stack trace or anything whatsoever? Just a run-time error? Are you running it on linux or windows?

    I really want to fix this, but it's hard to fix something that doesn't break on my pc.
    April 5, 2008 10:00pm - Hugo Arts - nickname: (hugo)
    yes, I expected the error to be somewhere in this package. I haven't updated to 1.8 yet, but I'll look into this again as soon as I have. Since, like I said, everything is working fine on my end, I really think the problem is with pygame 1.8.

    I'll put a 'Not compatible with 1.8" note somewhere in this.
    April 4, 2008 12:25pm - pymike - nickname: (pymike)
    I get the runtime error again when I run the gui test :(

    our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
    recent releases
    Jan 31, 2017

    Jan 24, 2017

    Jan 19, 2017

    Jan 18, 2017

    Jan 7, 2017

    Dec 30, 2016

    Dec 8, 2016

    Nov 28, 2016

    Nov 27, 2016

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