Pygame running slow - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Game Development (https://python-forum.io/forum-11.html) +--- Thread: Pygame running slow (/thread-37455.html) |
Pygame running slow - patagondev - Jun-11-2022 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! RE: Pygame running slow - deanhystad - Jun-13-2022 Please post your code RE: Pygame running slow - unawareenormousy - Jul-01-2022 Post your code here please octordle RE: Pygame running slow - XavierPlatinum - Oct-05-2022 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. |