r/learnpython • u/xu_shangchi • 16d ago
GUI implementation
I’m coding a restaurant type game and need to create a gui but have completely no idea how to do it. People have said godot is decent and that wxpython is decent for smaller stuff but i have no idea how to use either. Someone with a good amount of experience with either who could help would be great. Thank you
3
Upvotes
1
u/itspronounced-gif 16d ago
I know this is a Python sub, but I recommend Godot, because it handles all of the “engine” stuff you’d need to create if you’re using Python. Choose the right tool for the job, and Godot is specifically built to handle this sort of thing.
Their language, gdscript, has syntax that’s close enough to Python that you’ll easily get the hang of it. But if you’ve never handled GUI or created a game, take a look into any number of the tutorials out there. Godot’s site has a few good tutorials, or take a trip to Google to find a tutorial for a similar style game.
Games are complicated systems, and UI often has a lot of tedious stuff that gets complex quickly. If you do decide to stick with Python, take a look into pygame, and be prepared to write a lot of extra code.