Oh, I just noticed that it's for player bullets. Boss bullets don't need the
interval thing, do they? I'm still trying to wrap my head around "what I
need" and "what I can do". Getting the two confused isn't helping me get
done by the end of April...

On 4/12/07, Greg Ewing <[EMAIL PROTECTED]> wrote:

Charles Christie wrote:
> I just noticed something... You have an interval variable that is the
> number of ticks since the last frame. How would I pass the number of
> ticks since the last frame to the equation?

In my games, I just set the pygame clock to produce an
event every so many milliseconds, and then assume that's
the amount of time that goes by for each frame.

It may not be exactly right for every frame, but as long
as you can keep up, it will be right on average.

--
Greg

Reply via email to