0
Pygame Extreme lag. ( Code example and online compiler included )
Copy and paste the code into compiler Code: https://code.sololearn.com/c8yWkf6iIH7d Online compiler: https://trinket.io/library/trinkets/create?lang=pygame I tried to make a snake game but my fps is reduced from 60 to 2 in 5 seconds only by drawing background. I cant understand the what is the source of lag
1 Resposta
+ 3
Python is more of a model creator. It main use is Machine Learning and not for creating games. I'd suggest you learn a programming language used for software creation like C++, Java or something like that 🙏.
Python is also kinda slow in compiling.