Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pygame running slow
#1
Hello. Im trying to run a simple snake code, which I get from youtube. In the video runs smoothly and fast, but when I run it freezes for moments and runs slowly. Im using a Ryzen 5, 16Gb. I am wondering if theres a configuration or something that I'm missing. Thanks in advance!
Reply
#2
Please post your code
Reply
#3
Post your code here please octordle
Reply
#4
If your code is true to the tutorial, then check your for loops. Make sure that all the indentations are correct. One wrong TAB can make it loop a thousand times when once is what you want. Just one possibility, but if you followed a tutorial then the problem has to be simple.
Reply


Forum Jump:

User Panel Messages

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