Starting with Pygame

Started by
3 comments, last by lrh9 10 years, 7 months ago

So I have had a abstract for making games for the past 2-3 years, attempting over and over again to learn a certain language, switching from C# to java to C to C++ to python and back and forth over and over again as soon as i felt demotivated within a language, or something got to hard or didn't make sence to me.

Now i have taken up again at Python, and this time actually really working for this, but at the same time wanting to develop games in C++ later on i feel that Python would be a good start.

I'm currently doing the coure over at code academy which i i find somewhat great, i seen some tutorials on youtube from different people. Downloaded pyte of Python which i'll take the time to read all of.

But my question is, How can i increase my programming logics, and what do you think is required within python programming before i can start jumping into Pygame and making simple 2D games?

And do you think It's the best idea to start with python, learn making games here for a while, then move up to Cpp ? Or should i jump straight into CPP?

Thanks for the future answers, maybe this have been asked before, but i wanted to get a view from my prespective.

Advertisement

Take a look at this link, there are two books that might get you start with making game with python and pygame, and they're free.

http://inventwithpython.com/

Also I think it's great to start with Python and Pygame, python will be useful later on for future game development even if it's you don't use it as the main language. Once you grasp the basic of games with Python and Pygame then you can move on to something like C# with XNA or C++ with SDL2 or SFML.

Python is a more modern language, with cleaner syntax, and many helpful utilities. So, it's more than just a good "starting language"; It's a tool that will help you tackle even the most ambitious projects.

However, if you're just looking for a place to start, or to solidify your basic Python knowledge, you can give my tutorial series a try:

+---------------------------------------------------------------------+

| Game Dev video tutorials -> http://www.youtube.com/goranmilovano | +---------------------------------------------------------------------+

You can write 2D and 3D games in Python. I've played with Panda3D (perhaps the premier Python 3D game engine) and I'm writing a 2D game with PyGame. I spent some time learning the language, but everything you need to know to make games with Python and PyGame is in the Python tutorial and the PyGame documentation.

In my opinion the toughest part about breaking into game development as a solo developer is learning how the structure of a game program differs from the structure of other programs. Every game has a main loop that at minimum gets player input, updates the game state, and displays the results on the screen. This can be difficult to accomplish without the appropriate design.

http://www.koonsolo.com/news/dewitters-gameloop/

http://gafferongames.com/game-physics/fix-your-timestep/

http://lspiroengine.com/?p=378

http://www.valuedlessons.com/2008/04/events-in-python.html

http://entity-systems.wikidot.com/

You'll also need art assets. To that end I recommend OpenGameArt.

I have no problems sharing the code that I have, so message me if interested.

This topic is closed to new replies.

Advertisement