On Mon, Jan 31, 2011 at 4:22 AM, Thomas <[email protected]> wrote:

> cpu changes his position with an equal function, until it reaches the
> height of the ball
>
> under winXP cpu and player can move with an equal speed
> under win7 the player is significant slower than the cpu. it seems
> that a player only can move 2/3 the distance than the cpu player is
> able to
>
If they're both using a similar function, but they're going at a different
speed, then the problem lies there.

My guess is that the key events are not being fired each frame.  What you
want is to use pygame.key.get_pressed().

Ian

Reply via email to