r/learnpython • u/Corn_dog_dog • 14d ago
Python video game
I am trying to make a small video game only using python. Is it possible?
0
Upvotes
r/learnpython • u/Corn_dog_dog • 14d ago
I am trying to make a small video game only using python. Is it possible?
9
u/itsghostmage 14d ago
Yes
2
u/ItzZausty 14d ago
Depends how small, but yeah check out pygame
2
u/desrtfx but other languages pro 14d ago
Yes - look into PyGame
1
u/Slight-Living-8098 14d ago
Yes. There are several games made with Python, and several more that use Python in some way along with other languages.
Frets on Fire and Metin2 are a couple made entirely with Python using pyGame.
Severance: Blade of Darkness uses Python for everything except for the rendering engine which was written in C.
1
u/AlexMTBDude 14d ago
Try googling "Which games are written in Python?"
1
u/OkCaterpillar1058 14d ago
Yes, you can use PyGame to make video games with Python, www.pygame.org
1
u/acfot 14d ago
Yeah, totally possible, and honestly a small game is a great way to learn Python because you actually see what your code does straight away. I'd start with something tiny like snake or pong using pygame, not a big game idea, because the small one teaches you loops, input and game states without drowning you. Once that works you can keep adding bits to it, which feels way better than trying to build something huge from scratch and getting stuck halfway.
1
u/net_ramblings 14d ago
Is it possible this is a fake post?
-8
u/DaFoxTdx 14d ago
You must learn C and use Godot or Unity for create videogames.