Hey everyone! The last two days I have been playing different Ludum Dare games and one thing that I noticed is that most games are made in either Unity or Java. I myself made a game using the Python library Pygame and I think I found only one other person using Python during LD34 so far. Since this is so uncommon I thought it would be nice to tell about my experience. (Note: I’m not a coding expert(Applied Physics student) so I could be wrong on some things!)
What I like about Pygame:
- Python is super easy! During Ludum Dare I instantly knew how to go from my idea to a prototype.

Code for dev mode I used to test different functions. Simple!
- Pygame is well documented and there are a lot of great tutorials on Youtube. (Example)
What I don’t like about Pygame:
- Both easy and (mostly) hard to run on different OS. So on one hand Python code can run on almost anything but on the other hand it can be very difficult/confusing if you have to package the right library’s so non-Python users can play your game. For example I can’t make a mac version without using a mac computer. There also is no good way to run it in a browser. (As far is I know)
- For some things it feels like you have to do a lot of effort for something simple. With Pygame you can’t just simply create a camera or player with the library itself. You either have to script it yourself(And apply it’s effects manually to all objects that it affects) or copy paste another script. Compared to a friend of mine who used Unity I felt like it took way longer for me to get the basics down.
- Performance of Pygame games doesn’t seem to be all that great. It certainly is very playable but I can’t shake the feeling that the frame rate isn’t always consistent. Like somehow you can always feel like the pixels are changing position instead of a smooth movement. (+I think you need manual code to optimally use gpu and more cores? )
Conclusion:
Everything considered I’m happy that I used Python during Ludum Dare 34 since it gave me a lot more insight in the game making possibilities. I’m quite proud of the game I made and it has been getting mostly positive feedback. With that said though I will be switching over to Unity in the coming weeks. I feel like Unity will allow me to work more on designing the game itself then the code that supports it. For a person who wants to make a game for the first time and also get a lot of coding experience I can recommend Python but for everyone else there are better options. (imo)
If you read all of this and you want to check out a Python game you can try mine 😉

Tags: pygame, python