2D Game Development in Python



I like to do fun stuff when learning a new language. I've been
working with Python for a little while on real world problems mostly
fixing bugs and writing a simulator for work.

I was thinking as a hobby project developing a simple 2d game (think
Donkey Kong, Space Invaders, LoadRunner) and mentioned this to my 14
year old nephew. About a week later I got a full write up for a game
that he wrote and would like to play. So I figure why not take his
write up and turn it into a game as an exercise in fun and learning
more about Python?

I think I need at least this: 2D graphics, sound, input (kbd, mouse,
joystick maybe), some IPC might be nice (Stuff like: Sockets, TCP,
UDP, pipes, msg queues, shared memory). The IPC stuff would only be
used if I decide to allow some multi-player over a network.

I've been playing with Pygame some in my late night hobby time. I'm
wondering what else I should be looking at since I'm not all that
impressed with Pygame so far. Maybe it is the right library, but
maybe it's not. Please don't point me to a list of choices. I've
seen all the lists. I've done my reading. What I don't have is
actual testimonials by people who have used a chunk of code to program
an animated 2D game and had a great experience.

I am mainly developing on Windows XP using Python 2.5.1. I also have
multiple Linux boxes that I am migrating my life to and so any game
needs to be platform independent because I'll be on Linux full time
soon. If it's going to run on Windows and Linux, I think it should
run on Mac too.

I've been developing systems and programs for over 20 years.
Languages I'm an expert in include C, C++, Java. I have a strong
working knowledge and have developed non-trivial software in Smalltalk
and Lisp.

Thanks if you can help. And no, writing some graphics library myself
is not an option, I need the leverage, this is a hobby.
.



Relevant Pages

  • Re: How to actually write a program?
    ... > language I have worked on after a bit of BASIC). ... For a total novice, get one of the tutorial books (e.g., "Learning ... Python" or "The Quick Python Book") and follow through a few of the ... You may want to factor out the "model" and "controller" ...
    (comp.lang.python)
  • Re: Which programming Language
    ... I hear that Python is an excellent learning language. ... There are many and many programming languages (mainly: ...
    (Debian-User)
  • Re: Should we still be learning this?
    ... When learning programming, the concepts are what is important, not the syntax or libraries you happen to be using. ... Even if they were to teach you the latest and greatest features of 2.4.2, that would be out of date in a few months/years when the next version comes along and the Python gods decide to deprecate the entire os module or something. ... When I was a wee lad, they taught me Pascal, a language that is now as dead as Latin, but I now realize that the language did not matter; all that mattered was that I learned the basics of how to design and put together a program in a language. ...
    (comp.lang.python)
  • Re: How to actually write a program?
    ... "Nick Evans" writes: ... > I have been on and off learning to code (with python being the second ... > language I have worked on after a bit of BASIC). ...
    (comp.lang.python)
  • Re: PHP5 programmer learning Python
    ... learning a new language. ... I emphasize the 5 in PHP since I have fully ... I've dabbled with a number of languages in the past, Python being no ... Python has stuck to me as a language I _really_ ...
    (comp.lang.python)