Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish people would stop building things with pygame.

Its a terrible, buggy, crash prone obsolete framework.

Learning pygame may teach you basic skills you can transfer to other better frameworks; but it teaches you 10 year old skills that are largely irrelevant on modern hardware, and gives you a rubbish introduction to python (welcome to segfault hell).



Hello shadowmint, can you be more specific what modern techniques pygame is missing and which ones it has are obsolete? I'm genuinely interested (no sarcasm.)


shaders. component entity systems. gpu processing. user interfaces. physics. an asset pipeline. an exporter.

I mean, geez, just open Unity or UE4 and look at the features either has. You won't find them in pygame.

However, my real complaint is that pygame is so widely talked about and used, no one has made something better, they've just sort of tacked more and more rubbish as extensions onto pygame.

(oh, and that it crashes all the time, but you could argue the same for the 32-bit editor in unity)


What do you recommend, then?


Can't speak for @shadowmint, but I would recommend Kivy, or else leaving Python altogether and using Haxe.


pySDL2 or a different programming language.

Kivy is good too, but honestly, my feeling at the moment after trying all these frameworks is that in general python is poorly suited to high performance simulations; familiarity with the SDL2 api will help bridge the gap to using a different language which uses an SDL2 backend.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: