Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've been learning python for about 2 months now. I think I'm getting used to the language. My question is, when should I start learning Pygame? Or how do I know if I'm ready for it? I'm learning programming mainly to make games, so what should I at least know before I start making games? Thanks!

share

migration rejected from stackoverflow.com Aug 25 at 15:18

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Krom Stern, Josh Petrie Aug 25 at 15:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Krom Stern, Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

6  
When... you want to use it? –  Cat Plus Plus Jun 12 '11 at 13:25
1  
Should we care? Learn it if you have the need to learn it... –  Sentinel Jun 12 '11 at 13:29
    
Just do it now. Got problem? Refer to gamedev.stackexchange.com again! –  Predator Jun 12 '11 at 13:52

3 Answers 3

Fear, uncertaincy and doubt are a crippling combination.

Just do it.

What's the worst that can happen?

The python fairy appears in a flash of magic and turns you into a mushroom?

Now that I think of it, I remember a scifi tv show where "lower" creatures tried to develop too much too fast (it was an immortality treatment that required killing others to produce), and superior aliens killed them because "You are not yet ready". Now you just have to assess the potential reward in learning pygame against the possbility of this event occuring. You should be able to model this with a simple pygame simulation ...

share

You should be good enough to start. Game programming uses a lot of esoteric libraries and skills which you won't learn from other sources.

So start learning the moment you understand dict vs list performance, exceptions, classes vs objects vs types, and maybe a bit of numpy (array programming).

You will have to learn event driven programming (you might not explicitly control the main loop; some other loop does, and it will call your code depending on "events"), and the architecture of the project you are working on (MVC?), and lots of fiddly things with geometry and colors ... but that's best learnt on the job.

If you aren't sure, have a look at the code here: http://www.pygame.org/wiki/CookBook

If it makes any sense (the code, not the algorithms) then you are ready to go.

share

About a decade ago, when SDL and Pygame were both still actively developed, the Python community was not fractured between 2.x and 3.x, and CPU-side blit-based rendering was a reasonable approach to graphics rendering for low-end systems.

Now, you'd be better off learning just about anything else.

share