I'm designing an RPG game (With graphics) in Python and pygame

Started by
32 comments, last by thebigbossman 12 years, 6 months ago
I'm looking forward to doing so, but I won't be able until after 1 a.m. tomorrow. :( I'll probably run into problems, too.
A 30-year-old interested in learning to program by making an old-school, simple, text-only or 2D dungeon fantasy video game.

  • As of 9/28/2011, currently attempting to learn the basics of Python 2.7.
  • As of 10/14/11, Dabbling in C#.
  • As of 10/24/11, decisively surpassed my small knowledge of Python in C#.
Advertisement
More progress in the game. While I have slowed down due to real-life commitments, I am still progressing as you can see in this video.

[youtube]
[/youtube]

The bulk of the work now is preparing graphics and building the levels, NPCs, interaction and objects. There is still some work to do regarding the inventory management as I have not implemented it yet. However, it is now possible to create a basic "quest" or mission with the use of game state flags.

EDIT: I would really appreciate play feedback. There's very little of the game to play yet, and it should take only a few minutes of your time (of course, not including installing python and pygame).
I must admit that I am really impressed. Coming from me that is not really much to be honest, but still, that looks awesome and this game must have been a great accomplishment for you to create!

Though, I wanted to ask you something. How did you learn python, and for how long have you known how to write in Python? I am really interested in learning Python but I don't really know how I should do it. English is not my primrary language but I can still read it quite properly. Have you got any tips or anything similar? I would be truly grateful.

Good luck!

I must admit that I am really impressed. Coming from me that is not really much to be honest, but still, that looks awesome and this game must have been a great accomplishment for you to create!

Though, I wanted to ask you something. How did you learn python, and for how long have you known how to write in Python? I am really interested in learning Python but I don't really know how I should do it. English is not my primrary language but I can still read it quite properly. Have you got any tips or anything similar? I would be truly grateful.

Good luck!


Thanks a lot. Encouragement like this really motivates me to keep improving.

I come from a C/C++ background. At school we were taught C++ (primarily C, but with classes - in those days we had the Turbo C++ compiler in DOS and C++ wasn't as advanced or standardized as it is today). I have learned other languages on my own, namely PHP, Java and Python. I wasn't happy with Java because of its verbosity and heavy way of doing things (the Java API is full of abstract classes, interaces and interdependent classes that take a long time to get my head around). I discovered Python primarily as I am a Linux user for the past 10 years or so and Python is easily available in *nix environments. Its crossplatform nature really appealed to me + its simple syntax and natural way of writing code really appealed to me. Also Python's built-in data structures really appealed to me for its flexibility and ease of use.

For me, learning Python was just really a matter of syntactical adjustments. Though to be frank, I've not yet fully got fully into the "Pythonic" way of expressing my code. For instance, my first instinct is to always write loops for iterating through a list, though that is not strictly necessary in Python.

My suggestion and tip would be to go through the official Python tutorial and reference. That's a great place to start as any http://docs.python.org/tutorial/ and for Python 3 http://docs.python.org/py3k/tutorial/ and then go through the global module index at your leisure to understand what Python offers "out of the box" for Python 2.x here: http://docs.python.org/library/ and for Python 3.x here http://docs.python.org/py3k/library/.

Another good book to buy is this one http://shop.oreilly....780596158118.do once you've got into the fundamentals. Though I would recommend online tutorials as books can get outdated fast. Still for convenience you might prefer a book.

This topic is closed to new replies.

Advertisement