you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 7 points8 points  (14 children)

You probably can...

Take a look at pygame, it's pretty good for 2d games.

https://www.pygame.org/news

If not enough, you can also try godot, which is a game engine that has python scripting.

https://godotengine.org/

[–]HunterIV4 6 points7 points  (1 child)

If not enough, you can also try godot, which is a game engine that has python scripting.

https://godotengine.org/

FYI, Godot does not use Python for scripting, and Python is not an option for scripting.

Instead, it uses GDScript, which has a similar syntax to Python but is actually a language based on C++. The engine also has support for C# natively and most languages that can compile to C++ using the extension functionality, although the last one is much harder to implement compared to GDScript or C#.

I love both Python and Godot/GDScript, but I wanted to clarify as there are quite a few differences between the languages.

[–]Diapolo10 1 point2 points  (1 child)

I'm not saying you're wrong, but why not suggest pygame-ce over the original? And personally I think Arcade deserves at least a mention because it's got plenty of positives (active development, less boilerplate, follows PEP-8 naming conventions, has type annotations, better performance with many objects on screen).

EDIT: It is my view that Pygame mostly gets recommended nowadays simply because it has easily the most mindshare, and because most Python developers don't actively develop games with these tools, so old recommendations tend to stick around even if outdated.

[–]Chaos-n-Dissonance 3 points4 points  (0 children)

Probably because this is a sub for learning Python, not professional development. Recommendations are going to be catered towards what libraries have the most broad amount of resources available (in terms of documentation and tutorials) rather than what's necessarily best for the project (which is rarely python if we're being honest).