3 ms·
If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library? I looked briefly at pygame a while ago and was dissuaded when using hard
by atomicnumber3 6y ago
If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library?
I looked briefly at pygame a while ago and was dissuaded when using hardware surfaces seemed to be black magic in the opinion of many users of the library, and using software rendering nets you a max of like 25fps if you do nothing but blit black across the entire screen. Does anyone know if pygame is still the state of the art for python game dev?
- toulaboy3 6y agoIt would be much higher than 25 fps for sure. I would say it could stand a fair chance for some starter level 2d games to hit 60fps or higher easily. However that is not the intended use case the library at the moment, it currently aims at giving a face to scripts and med-large applications. But it wouldn't be bad introduction to the idea of having to deal with frames and a render loop and logic loop ect for a beginner!
- Doxin 6y agoPyGame recently released a new version based on SDL2 instead of SDL. I don't know if it's actually faster but given that SDL2 focuses on accelerated rendering I'd imagine so. Worth checking out in any case. Just in case it's still as slow as ever: there's perfectly fine SDL2 bindings for python, so if you use those at least the slowness will be your own fault.