Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Greg Ewing
Ian Mallett wrote: Of course, there is a paradox in all this, that the ball can retain kinetic energy, yet have no mass. It could be viewed that, by Physics, it could not impart energy with no mass, because energy transfer is proportional to the mass and speed of an object. That's only th

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Jason Ward
a while ago someone said that the ball speeding up and slowing down "randomly" was because it was based on the time elapsed every frame and that time varies because if other tasks are being run then the cpu is executing both threads so it doesn't spend all of its time in your game. But then what w

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Luke Paireepinart
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] Why does my ball vibrate?

2007-12-05 Thread Ian Mallett
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. > It's fundamentally incapable of standing still. Heh heh.

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Greg Ewing
Michael George wrote: I've thought of writing a game with physics operating at the quantum scale, but I couldn't think of anything interesting. Some things you might be able to exploit: * Non-commuting observables - an object that you can determine two different things about, but not both at

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Greg Ewing
Ian Mallett wrote: However, Physics, as far as I know, does not say what happens with a particle of no mass. 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. It's fundamenta

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Ian Mallett
On 12/5/07, Patrick Mullen <[EMAIL PROTECTED]> wrote: > Well pong is viewed from above, so downward acceleration makes no > sense. (ping pong) So it would be a case where the bounce is sideways, like hockey or soccer. > As for bouncing indefinitely, pong takes place in > a magical universe where n

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Patrick Mullen
On Dec 5, 2007 9:59 AM, Ian Mallett <[EMAIL PROTECTED]> wrote: > On 12/4/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > > That's true. Probably not something you need to take into > > account in a Pong game, but if you're simulating space > > flight or something like that, you certainly do! > I always

Re: [pygame] Why does my ball vibrate?

2007-12-05 Thread Ian Mallett
On 12/4/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > That's true. Probably not something you need to take into > account in a Pong game, but if you're simulating space > flight or something like that, you certainly do! I always wondered how the ball in Pong could bounce indefinitely, and not acceler

Re: Fwd: [pygame] Problems with py2exe and Pygame

2007-12-05 Thread hwg
I did also manually put the font into library.zip. Still had the same problem. Then I took the suggestion from another post and explicitly loaded the freasnsbold.ttf font, instead of using None (and getting the default.) That worked, but all my fonts rendered about 50% bigger than before. Stra

Re: [pygame] Problems with py2exe and Pygame

2007-12-05 Thread Brian Fisher
On Dec 4, 2007 12:49 PM, hwg <[EMAIL PROTECTED]> wrote: > The default font ("freesansbold.ttf") does get copied over to the dist > folder. (I saw some posts about that problem) But the error log when I try > to run it says this: > > Traceback (most recent call last): > File "lunarlander.py", li

Re: [pygame] Problems with py2exe and Pygame

2007-12-05 Thread Chris Van Bael
Hi, you can use the datafiles option in your setup.py to copy the font. Maybe take a look at my setup.py script: http://schoolsplay.svn.sourceforge.net/viewvc/schoolsplay/branches/childsplay_sp/windows/setup.py?view=markup It's fairly straight forward. Chris On Dec 5, 2007 2:15 AM, Patrick Mull