Re: [pygame] Rocket + Bike = Physics

2009-01-08 Thread Ken Seehart
Ian Mallett wrote: ... F = MA says that we'll accelerate at approximately 0.77 G (darn was hoping for something more) But: After 253 seconds, we'll be traveling at about 1.9 kilometers/second = 5.6 mach, or fast enough to cross the continental US in about 35 minutes. ... I don't have time to

Re: [pygame] py2exe problems

2008-03-16 Thread Ken Seehart
Ian Mallett wrote: New problem. My program (which only uses pygame) doesn't run when py2exe'd. It says something about not being able to find the surfarray module when the .exe is run, but it closes almost instantly, so I can't really tell. I upgraded to pygame 1.8, if that makes a differenc

Re: [pygame] Why does my ball vibrate?

2007-12-06 Thread Ken Seehart
Ian Mallett wrote: On Dec 5, 2007 4:03 PM, Greg Ewing <[EMAIL PROTECTED] > wrote: Actually, it does -- a photon is an example of an object with no mass. Such an object always travels at the speed of light -- it doesn't even need a push to get it going.

Re: [pygame] Free chapter of my book

2007-10-12 Thread Ken Seehart
Will McGugan wrote: Horst JENS wrote: I think that either the comment should say "in 10 frames" or the randint statement should be randint(1,10). correction: or the ranint statement should be randint(1,20) Ack! Well spotted. Never hard code values in to comments! Will A former empl

Re: [pygame] Starting Window Position -- oops ignore duplicate post

2007-06-27 Thread Ken Seehart
Doh! Sorry about the duplicate post... Ken Seehart wrote: Hi, When one starts a pygame window in windowed mode, the window pops up in an unpredictable place on the screen. How do you set it to be at a certain place? Thanks Ian M.

[pygame] Starting Window Position

2007-06-27 Thread Ken Seehart
Hi, When one starts a pygame window in windowed mode, the window pops up in an unpredictable place on the screen. How do you set it to be at a certain place? Thanks Ian M.

Re: [pygame] pygame is a disgrace

2007-02-15 Thread Ken Seehart
become the new standard for game development in python once everyone realizes how awesome it is. It is most unfortunate that the name "PyGame" has been taken, but I'm sure you are a very creative person capable of coming up with an even better name. - Ken Seehart Jer Juke wrote: Yea

Re: [pygame] Rotating Images on a specified axis.

2006-12-28 Thread Ken Seehart
t the correction for this. - Ken Seehart

Re: [pygame] Negative number positive

2006-12-26 Thread Ken Seehart
If you want something that converts negative numbers to positive numbers, but leaves positive number alone, use the *abs()* function. a = abs(b) If you want something that has the effect of multiplying by -1, just use the - operator. a = -b Ken Seehart Farai Aschwanden wrote: Hello Erm

[pygame] Anyone using PyMedia?

2006-12-25 Thread Ken Seehart
I'm trying to use PyMedia. All I need is to process a sequence of video frames as strings in 24 or 32 bit (RGB or RGBX) format. It was pretty easy to do with pygame.movie, but my program needs to run on windows, and pygame.movie doesn't work on windows any more. Unfortunately, PyMedia is not

Re: [pygame] PyOpenGL and win32screensaver

2006-12-24 Thread Ken Seehart
Thanks Luke, it works great. Luke Paireepinart wrote: What kind of side effect should I expect from the OPENGL flag? Any ideas/workarounds? Happy Everything, Thanks, Ken! Okay, you asked for a workaround :) Don't use win32screensaver! If you just create a py2exe of your program, ren

[pygame] PyOpenGL and win32screensaver

2006-12-21 Thread Ken Seehart
under PyGame, and I have successfully used win32screensaver with Pygame (without PyOpenGL). It would be nice to be able to do both at the same time. Happy Everything, - Ken Seehart