[pygame] student looking GSoC mentor

2010-03-28 Thread Scott Buffa
Hi, my name is Scott Buffa, and I am a Junior (soon to be senior) computer science major at Michigan State University. I was tipped off about your GSoC offerings from my professor Titus Brown, who is active in the python community. I would be interested in working on pygame this summer. The

Re: [pygame] Two Licensing questions

2010-03-28 Thread Luke Paireepinart
IANAL. The MSVCRT copy you need is the one from whichever visual studio they used to compile Python. If Microsoft says you can redistribute it I bet you probably can. As for py2exe, it just includes all the py files in a zip file called libraries.zip or something like this, so it's still

Re: [pygame] pygame and file object compatibility; slow.

2010-03-28 Thread Luke Paireepinart
On Sat, Mar 27, 2010 at 11:11 PM, Maize vhxonl...@gmail.com wrote: Currently I am working on a game project in pygame. We have a library folder containing all of our images, text files, and fonts. We are converting this to an archive file because we have many many files (~12,000) and don't

[pygame] Re: pygame and file object compatibility; slow.

2010-03-28 Thread Maize
After fussing with it for a few hours it seems to be a problem with either pygame or the tar file objects. The time it takes to extract the file into memory is around 0.003s or so. The problem occurs exactly when it hits the pygame.image.load. I eventually found a method to load them faster (8s as

[pygame] Re: Two Licensing questions

2010-03-28 Thread Douglas
Ah, okay I see. I checked with a few other releases people did with Py2exe and you are right, it does make a Libraries ZIP. That really does pretty much answer that legal question anyways, I realize your not a lawyer, but from what I can tell there's enough releases out there that make the point

Re: [pygame] Re: pygame and file object compatibility; slow.

2010-03-28 Thread Brian Fisher
What about the font loading segfaulting? Are you still getting that issue? If so, what version of pygame are you using on what OS? In case you are curious, the problem with reading from tar files as file-like objects is that with tar files, seeking to a certain point in the stream is expensive

[pygame] blit speedup

2010-03-28 Thread Wakefield, Robert
I've made a tiling engine where tiles are stored as list of subsurfaces from a texture surface, and the game map is stored as a list of tile indices. The problem is that I'm ending up with some slowdown even at low resolutions. I was wondering if anyone's run into this before and could offer

Re: [pygame] blit speedup

2010-03-28 Thread Olof Bjarnason
2010/3/28 Wakefield, Robert rjw03...@engr.uconn.edu: I've made a tiling engine where tiles are stored as list of subsurfaces from a texture surface, and the game map is stored as a list of tile indices.  The problem is that I'm ending up with some slowdown even at low resolutions.  I was

Re: [pygame] blit speedup

2010-03-28 Thread Casey Duncan
On Mar 28, 2010, at 12:24 PM, Wakefield, Robert wrote: I've made a tiling engine where tiles are stored as list of subsurfaces from a texture surface, and the game map is stored as a list of tile indices. The problem is that I'm ending up with some slowdown even at low resolutions. I

Re: [pygame] newbie

2010-03-28 Thread 0wl
Hi, Here's a little trick: try grep -r for SDLK_ for example in some game's code, it will search recursively through all the game's files. this way you do not have to reinvent the wheel. Love, tullarisc. 2010/3/26 sne...@msn.com These are gems Kris, thanks, if I had to figure all this out by

RE: [pygame] blit speedup

2010-03-28 Thread Wakefield, Robert
Do you have any recommendation for the best way to get an OpenGL engine running, especially going Pygame surface to OpenGL texture? I'd like to preserve platform-independent .py files or executables if possible. I had previously coded a simple engine with OpenGL/C++, and trying to get

Re: [pygame] Re: pygame and file object compatibility; slow.

2010-03-28 Thread Greg Ewing
Maize wrote: The time it takes to extract the file into memory is around 0.003s or so. The problem occurs exactly when it hits the pygame.image.load. Tar files are a bad choice for random access, because they have no index -- the only way to find a specific file is to search for it from the

Re: [pygame] blit speedup

2010-03-28 Thread Ian Mallett
On Sun, Mar 28, 2010 at 3:29 PM, Wakefield, Robert rjw03...@engr.uconn.eduwrote: Do you have any recommendation for the best way to get an OpenGL engine running, especially going Pygame surface to OpenGL texture? I'd like to preserve platform-independent .py files or executables if possible.