3 ms·
Wow, that shot of Jupiter looks amazing. I had no idea that it was feasible/practical to make graphics/games in Python. Is it becoming a thing to develop games
by epiphanitus 7y ago
Wow, that shot of Jupiter looks amazing. I had no idea that it was feasible/practical to make graphics/games in Python.
Is it becoming a thing to develop games in Python, or is it mostly just hobbyists?
- GuiA 7y agoI believe Space Engine core is developed in C++. However, one can embed Python for scripting - it’s not rare, but I know game developers tend to prefer lighter languages like Lua. As far as developing games in Python only, it’s certainly doable - there are raw SDL/OpenGL/etc bindings, and some dedicated libraries like PyGame. It’s not a super common choice though.
- SXX 7y ago> Is it becoming a thing to develop games in Python, or is it mostly just hobbyists? To what was said previously I can only add that huge piece of Civilization 4 was implemented in Python scripting. It's not the whole game, but huge part of gameplay code.
- regnerba 7y agoThe MMO EVE Online has a substantial, if not the vast majority (I never looked at the non-Python code so don't actually know how much of it there is), of its code written in Python. Most of that Python code is gameplay code. The graphics, networking, and audio layers for example are NOT written in Python.
- trilila 7y ago“The graphics, networking, and audio layers for example are NOT written in Python.” - so...the game’s code is not written in Python at all, except some gameplay scripting.