Python game developing Problem ?

5    23 Mar 2016 05:54 by u/ValentinaSmith

I have installed Python and had started to learn it.I want to know how can i make a good gui based game or software.Should I have to integrate any other file on the python for gui interface or something ? I am basic level learner of python and want to know on it.As python programming interface is very simple how can we make a good s/w or game with interactive GUI ?

13 comments

4

So any gui since even the old days involves incorporating a gui library. Most of them are language portable. I suggest gtk or wx-widgets.

The downside, they take time to learn and master. It's more tedius than difficult. They don't give you much control over astetics. They implant inportability in your code.

This is why a lot of games go with a custom gui. You have to do graphics anyway, you would like control over astetics, it looks more professional.

Here is my suggestion. Go with gtk or wx but don't put a lot of time into making the game's outer gui perfect. Focus on the game itself and get a basic ui up even if cluncky. This gives you time to weight where you will really go without putting too much investment into it.

Best yet, if you want to find a VC for the game (probably not but it's never bad to build workflows that incorporate that into muscle memory), then they will care more about if the game is playable. Think Doom. The menu was so basic they could have coded that in a day. A VC would get that and you could have that dock nothing from your valuation if your ui just needs a little work. The real question for them, or anyone you try to sell this game to whether it is a website or players, is if the game is fun.

td;dr: You have some options. Don't over think the UI till the end. gtk or wx should cover you to make the game testable. Focus on the game mechanics and graphics. Take this time to verify that you can do what you want with ui to double check that you won't get hung up on it later.

4

Take a look at pygame.

2

UI toolkit? Pyside.

Arcade type game? Pygame or PySDL.

0

I used PyGame to make a game long time ago. Very good platform, simple and bug-free. Highly recommend.

My only reservation for what you asked is that it does not come with a library for buttons, dials, etc. It's not a good library if you require point an click. It's pretty good though if you want to do a simple side-scrooler.

0

Can anyone give me the top resources on from where to learn Python for game ? or should I directly choose Pygame ?