Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Laggy Game Movement
#1
I've noticed that the movement in my Pong game is experiencing a strange amount of lag when I start the game up in Python, despite coding it to run at 60 fps. I converted the game to an .exe file and found that it's still experiencing this same lag. However, I added code to print the fps on the screen and it's telling me that it is running at 60 fps. What's most strange however is if I open the .exe file a second time so that the game is running twice in two different windows, the gameplay is notably smoother. As soon as I close the second window, the gameplay again returns to its normal laggy self. I think this is more of an issue with the computer rather than Python but I don't know enough to diagnose the issue or how I can fix this. I've tested the game on three other computers and none of them have this issue. If someone could help that would be great.
Reply


Messages In This Thread
Laggy Game Movement - by game_slayer_99 - Jul-18-2022, 09:55 PM
RE: Laggy Game Movement - by Windspar - Jul-19-2022, 12:10 AM
RE: Laggy Game Movement - by game_slayer_99 - Jul-19-2022, 12:49 AM
RE: Laggy Game Movement - by metulburr - Jul-19-2022, 12:05 PM
RE: Laggy Game Movement - by game_slayer_99 - Jul-19-2022, 07:51 PM
RE: Laggy Game Movement - by Windspar - Jul-19-2022, 06:34 PM
RE: Laggy Game Movement - by Windspar - Jul-19-2022, 11:14 PM
RE: Laggy Game Movement - by game_slayer_99 - Jul-20-2022, 12:05 AM
RE: Laggy Game Movement - by Windspar - Jul-20-2022, 02:37 AM
RE: Laggy Game Movement - by Windspar - Jul-20-2022, 02:54 AM
RE: Laggy Game Movement - by prasedenica - Jul-20-2022, 06:27 AM
RE: Laggy Game Movement - by Windspar - Jul-27-2022, 08:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] Particle movement mystery XavierPlatinum 10 3,001 Jul-09-2022, 04:28 AM
Last Post: deanhystad
  [PyGame] Isometric Movement on Tiled Map Josselin 0 2,380 Nov-02-2021, 06:56 AM
Last Post: Josselin
  [PyGame] object's movement to left leave shadow on the screen Zhaleh 3 3,167 Aug-02-2020, 09:59 PM
Last Post: nilamo
  [PyGame] sound effect delay and program laggy xBlackHeartx 26 12,964 Oct-09-2019, 11:36 AM
Last Post: metulburr
  Using classes for room movement (text game) Lawr3y 3 6,614 Aug-20-2019, 12:40 AM
Last Post: Lawr3y
  Problem with coding for movement keys Aresofthesea 3 3,489 Jul-05-2019, 07:05 PM
Last Post: nilamo
  Pygame Movement X/Y coord TheHumbleIdiot 2 3,534 Mar-19-2019, 02:21 PM
Last Post: TheHumbleIdiot
  Movement after KEYUP, only after pause func esteel 2 3,305 Aug-22-2018, 03:03 PM
Last Post: Windspar
  [PyGame] How to stop the sprite's movement when it touches the edges of the screen? mrmn 5 11,642 May-13-2018, 06:33 PM
Last Post: mrmn
  [PyGame] My program is very laggy GamePlanet 6 7,076 Aug-15-2017, 03:00 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020