Skip to main content

2d Tile Based JRPG - 0.0

It's a 2d Tile Based JRPG. It's still in pretty early stages.


James Pulec
(jpulec)
If you have any questions, I'll do my best to answer them. To play, just execute Game.py. There is also a Map Editor called MapEditor24.py. It allows saving map portions and adding items, and portals to transport the player to other locations. There is still a lot of debug text on, and the menu system needs a lot of work.

Changes

Links

Home Page
http://www.pygame.org
Source
https://github.com/jpulec/My--RPG

Releases

2d Tile Based JRPG 0.0 — 16 Jul, 2011

Pygame.org account Comments

  • Lysander 2011-09-06 07:39

    Can you include an executable package to try out? I use the most recent versions of python and pygame for my own programming and was sadly unable to try this out with my current setup. I fixed about 10 instances of print statements throwing out errors by encapsulating each with parentheses, for instance in ImageData.py -
         print "Failed to load texture file '%s'!" %textureFilename
    becomes
         print("Failed to load texture file '%s'!" %textureFilename)
    but I hit a dead end when string.split wasn't recognized as a valid object attribute in Map.py. I'm guessing this is a version issue and the functionality has changed in the most recent releases, but I'm no expert so I can't say for sure.

    JamesPulec 2011-09-06 21:18

    Yes. You must be using Python 3. A lot was updated then. Try using Python 2.7. If I get a chance I could try and put an executable out. Would you need a .exe or a .deb, or what would you be looking for?

    Lysander 2011-09-06 22:54

    Windows Executable (exe) if possible. I'm actually having a bit of fun trying to get your game updated to work with 3.2.2, lol. I'm pretty new to Python though, so I'm not sure I can actually manage it, but it's entertaining nonetheless.

  • Brider 2011-09-09 17:53

    What license are you releasing this under..?

    JamesPulec 2011-09-09 19:59

    Uhh. Probably LGPL.

  • Lysander 2011-09-13 06:09

    You should get on pygame's IRC channel so that we can discuss a few things.

  • Anon 2012-03-20 14:14

    It's good, but There is a re-occuring attribute error because it says attribute "alive" is not defined. This causes the game to end after attacking in combat.

    Ino 2015-09-22 14:20

    It can be fixed by adding one line in PlayerData,py:

    class PlayerData(Creature.Creature):

    def __init__(self, name):

    Creature.Creature.__init__(self, name)

    self.facing = 0

    self.collisionRect = pygame.Rect(288, 216, 24, 24)

    #self.font = pygame.font.Font(None, 24)

    self.currentSkin = None

    self.rHand = None

    self.lHand = None

    self.armor = None

    self.alive = True #add this line

  • Ino 2015-09-22 14:21

    There's another error, haven't figure out how to fix it yet:
    Traceback (most recent call last):
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Game.py", line 350, in <module>
    game.mainloop()
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Game.py", line 63, in mainloop
    self.drawWorld()
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Game.py", line 260, in drawWorld
    self.battle()
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Game.py", line 205, in battle
    self.newSkins = self.instance.battleMain()
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Battle.py", line 100, in battleMain
    self.ret = self.performActions()
    File "D:\Documents\Downloads\My--RPG-master\My--RPG-master\Battle.py", line 245, in performActions
    self.actionsLength += self.run(self.highestAction[0])
    TypeError: unsupported operand type(s) for +=: 'int' and 'list'