• Advertisement
Sign in to follow this  

2D RPG in Python (Questions)

This topic is 1246 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I am quite new to programming but I have already seen many introduction videos about how things work together and what object oriented coding is. I have been using RPG Maker VX a lot when I've been working on games and I am doing basic editing to scripts I use (I don't create my own scripts from scratch, I use scripts made by others and I edit them).
      Now I've gotten tired of the limits RPG Maker VX have and I want to make something I've been burning for a long time. I want to make a 2D top-down RPG Action Game, like the old Zelda Games but with more RPG elements, and it is going to be 16p. Now I've been checking around a lot for what language might suit me best. I was thinking of SDL a while, but a friend of mine recommended Python.
      I would really like to hear from everyone here if you have any tips, tricks, or if you know any good tutorials I can check up about Python! I've never been writing code from scratch before!

...and a last thing, I found something called Tiled Map Editor which seemed very useful for what I wanted to create. If anyone of you have any experience with it, then it would be really appreciated if you could also share your thoughts surrounding it!

 

Here are a few sprites I mashed together, as an example what I want the game to look like :)
t0nrqc.png

Edited by ZamuelZA

Share this post


Link to post
Share on other sites
Advertisement

google will be your friend here.  The below ones are a good start (don't include the quotes when u google)

 

google "python 2d game devlopment"

google "python with tiled map editor"

google "python 2d RPG game"

 

My lone suggestion would be to start with pygame, and go from there.  It's going to be very difficult since you have little programming experience, but good luck with it.

Share this post


Link to post
Share on other sites

Hello there,

 

Unfortunately i can't give you much advise, about which programming language is a good choice for you right now,

all i can say is: just stick with the language you feel most comfortable with, because in that way you will probably get really far.

 

If you choose to use python i recommend learning from this site first:

http://inventwithpython.com/chapters/. This site will learn you the basics of programming in python, while you make small games

(they are non graphical games, but still very nice to make).

 

After you finish that one i recommend this one:

http://inventwithpython.com/pygame/chapters/. This one is from the same site, but takes you to some more advanced programming.

The games you''ll make with this book are with graphics.

 

I hope this information is very usefull and good luck further,

RaoulJWZ

Share this post


Link to post
Share on other sites

So what your friend talked about, the SDL, is not actually a language but a library for Graphics.

This library has a version for Python, called pygame.

Since you already have some experience of modifying scripts, learning python should not be all that hard.

What will be hard however is designing a game from this relatively low level. With Python and Pygame you will have to do a lot of legwork, but in turn you get complete freedom over every aspect of your game.

Learning Python is rewarding in and of itself so starting there is probably a good idea. And while you learn it, you can think a bit about how certain concepts might be used in a game.

The next step would then to make small games and come back here for all the questions that will invariably turn up.

About the choice of an editor like Tiled: I used it only shortly but it seemed to support all I needed, there is also the Ogmo Editor, which also looks nice. But until you have to decide on one of those, you should first make pong or snake with Pygame.

Share this post


Link to post
Share on other sites

Hello there,

 

if you go with Python, for graphics I'd recommend pySFML, it is a binding of SFML library for C++. It doesn't get attention it deserves, and I think it's really good tool.

Share this post


Link to post
Share on other sites

The good thing about pygame is that there are tons of stubs on the site, so you can download them and integrate with your own game (assuming the license allows it).

 

For instance, here is a loader for tiled maps:

http://www.pygame.org/project-map+loader+for+%27tiled%27-1158-.html

 

Here is one of many A* implementations:

http://www.pygame.org/project-AStar-195-.html

 

And so on. My only problem with pygame is that I find the animations a bit clumsy, other than that, it is a fine simple engine.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement