0

Pygame optimization

What are some good ways to optimize pygame? I’ve been working on a game, and while it runs it is a bit sluggish. Any suggestions would be welcome. :)

22nd Dec 2020, 12:45 AM
builderdev212
builderdev212 - avatar
2 Answers
+ 2
Maybe use a more lightweight IDE like Idle (or maybe this is what youre using rn) so the code editor wont consume too much RAM. And also maybe limit the FPS rate. These are just my suggestions but here in this link you can see more answers. Although I dont know if you have already visit this but this link may help you. https://www.reddit.com/r/pygame/comments/1rief3/what_are_your_best_tips_to_optimize_or_simply/
22nd Dec 2020, 12:58 AM
noteve
noteve - avatar
+ 1
Thanks for the tip, I might should clarify. My actual computer aint the bottle neck afaik, as it aint maxing anything out while running. I’m looking for ways to omptimize the code itself, that reddit post does have some helpful tips I shall definitely look into, thank you!
22nd Dec 2020, 1:55 AM
builderdev212
builderdev212 - avatar