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

Re: [pygame] Growing Pygame



I can see this being quite useful, I remember when the little code repository was being used more often and I learned a lot in the begining from it.  As of now, no one really submits to them, and the only place to post code on the pygamr.org site is with projects, which are on the front page for a few days then dissapear forever (unless you search for a specific thing).  I think a more blessed cookbook style project or pygame-contrib would be quite useful, although I would call it pygame-extra or pygame-util to better emphacise what it is.  As a place for people to develop things for eventual inclusion in the core, I am against that for the reasons I mentioned.  I just think that pygame is pretty much as big as it needs to be, and any more python code is going to be more implementation specific - except for c additions which should still continue to be added, or speed increases etc.

However, as a utility library or pygame stdlib, it's starting to seem really useful to me.  Maybe call it gameutil (pygameutil just seems too long to me, pygext is already taken, pgu already taken, I dont know though).  So there can be gameutil.blit for blitting effects, gameutil.font for font effects, gameutil.scroll for scrolling, etc.  There are a lot of things that you kind of rewrite a lot.  It would be best if it was a loose collection of utilities, where it would be pretty easy to just go and get the function you want and copy it over if thats all you need, or grab the whole package if you are going to use everything.  I think the best first step though would be to keep it more like a cookbook that people can contribute to.  Depending on how much support there is, the recipies can be collected together.

I don't know, the idea has some merit, but it would need a lot of support to succeed.  This message has many replies at least.