Pygame's Performance - What You Need to Know
Video Statistics and Information
Channel: DaFluffyPotato
Views: 59,947
Rating: 4.9415016 out of 5
Keywords: DaFluffyPotato, gamedev, game development, programming, computer science, pygame, python, is pygame slow, pygame slow, pygame performacne, godot, ursina, pyopengl, opengl, python programming, pygame games
Id: hnKocNdF9-U
Channel Id: undefined
Length: 9min 10sec (550 seconds)
Published: Sat Jul 31 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Summary: now with pygame 2.0 it's speed has significantly increased but before that it was quite slow. However, it is usually slow because of bad code written by newbies but that can be fixed (like using .convert() on images but that's less important in pygame 2.0).
As long as the flip() command takes longer than a millisecond on a fast pc I donβt think pygame is still fast enough for most large projects. Itβs fine for anyone targeting 30 fps, but 60 and above will just need quit some optimisation.