Advertisement

Questions about pygame and python

Started by March 04, 2015 08:55 AM
2 comments, last by louie999 9 years, 10 months ago

What's the difference between those 2 ?

Is it gonna be hard to create even a simple game using those?

Is it easy to learn Python?

What if i want to create a 2D war game with Tanks,Jets,Aircraft carriers ? will it be hard?

Thx in advance.

pygame is a framework that can be used with python to develop a game. It will take away some of the low level plumbing tasks you would have to do yourself without it.

Is it difficult to create a game? Is it difficult to learn playing the piano? Hard question to answer, this depends a lot on what you are trying to achieve (if simple means text adventure, or maybe pong... no, not that hard, though you still need to learn to program, and you will need to learn about game loops), how fast you learn and how you already know. And of course, what your personal threshold is for finding something difficult...

About your tanks, jets and carriers... adding graphical assets to a 2D game, especially ones that do not need to be animated like such vehicles, is not hard to do from a technical point of view. But of course, somebody needs to create the art first. Either you get some free art, buy stock art, or you can create the art yourself. That might be the hard part, if you are trying to create it yourself but lack the art skills needed.

Advertisement

Python is a language. Pygame is a framework written in that language that you can use to handle various tasks (graphics, audio, getting input, loading image files, and so on).

The hardest part of making a game is starting. (The second hardest is finishing.)

My standing recommendation is to just start trying. There are plenty of tutorials for Pygame (http://www.pygame.org/wiki/tutorials) that will walk you through the first steps. At your level you don't need to know which way is the best or the easiest, you just need to pick a way that is easy enough to get started. If you're willing to learn to code, Python is certainly easy enough, so go for it!

Good luck!

Thx guys for answering,i will try my best to learn it and make a good game biggrin.png

This topic is closed to new replies.

Advertisement