Python Forum
My game's code works but Python still freezes at random intervals.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My game's code works but Python still freezes at random intervals.
#5
(Nov-25-2021, 03:11 AM)nilamo Wrote: It sounds like you're running it within PyCharm... does this also happen if you run it from the terminal?

Do you have any while loops? Not responding is different from crashes. If it's not responding, that means it's busy doing something.

Is the code somewhere we can look? (github, etc)

While I wrote the code in PyCharm, when I run the code, it opens the game up in Python. I haven't run it from the terminal, but I have converted it into an exe file and I get the same issue. I have one while loop. When I say it doesn't respond, I mean the game abruptly freezes and when I try to close it out, I am told that the application is "not responding."
Reply


Messages In This Thread
RE: My game's code works but Python still freezes at random intervals. - by game_slayer_99 - Nov-25-2021, 03:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  From python game in terminal to a website game using bottle Njanez 0 3,887 Aug-13-2021, 01:11 PM
Last Post: Njanez
  Pygame freezes after certain time GJG 2 5,389 May-06-2021, 10:52 AM
Last Post: GJG
  Game “Pong” I have problems with the code BenBach18 2 3,548 Jan-10-2021, 05:16 PM
Last Post: michael1789
  Bringing My Game Code Into Class Format ZQ12 1 2,238 Dec-22-2019, 05:32 AM
Last Post: michael1789

Forum Jump:

User Panel Messages

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