Skip to main content

MiniWorld

An RPG Game similar to Legend of Zelda done in python and pygame.


JRW
(jbot)

MiniWorld is in Beta testing now, so if you want to try, download it now!

New Features:

  • Directional images for players and mobs
  • More swords!
  • 2 movement systems: keyboard and mouse (right click to attack)
  • Not scrolling anymore, due to mouse attack system
  • Screen size changed

 

Links

Home Page
http://code.google.com/p/miniworld/

Releases

MiniWorld 0.1.0 Beta — 30 Apr, 2013

MiniWorld 0.3.0 Beta — 15 May, 2013

MiniWorld 0.3.1 Beta Bugfix — 17 May, 2013

MiniWorld 0.2.0 Beta — 2 May, 2013

Pygame.org account Comments

  • Mekire 2013-05-02 09:45:23

    A nice start. I might suggest you move over to mask detection if you ever intend to use tiles that aren't just squares. Also I suggest that you make the rectangle/mask for collision against the background for the player slightly shorter than the height of the sprite. This will let the head of the player slightly overlap with obstacles adding more depth to your game. If you check out the original Zelda you can see this. Also consider having layers for your level maps so that the player can walk under bridges/through tunnels. I also have a Zelda-esque that I worked on for a long time (currently abandoned until I get around to completely rewriting the code). Don't bother looking at the code too much as it is hellish (one of my first projects), but if you'd like to take a look, here it is:

    http://pygame.org/project-Of+C...

    I look forward to updates. Cheers,
    -Mek

  • Lucas Sabião 2013-05-03 06:45:57

    Good job :)

  • Chris Warner 2013-05-16 01:03:39

    I can't figure out where the code is for the bugs health. It seems I can kill it with anything in a single bunch. What line or around what lines are the bugs actual health in a number? I also have been playing around with it and made about 10 inventory slots and 20 new items!

    Todd O'Donnell 2013-05-16 10:26:35

    Line 191 is hp, and 192 is max hp. If you change the second to the first it will be equivalent as damage is just a ratio, I believe.

  • Todd O'Donnell 2013-05-16 10:31:10

    Very lengthy code, have you considered using separate modules for the player and mobs.
    Otherwise looking pretty good start and I agree with Mekire about masks.

  • Mekire 2013-05-16 12:12:39

    I strongly suggest you read this:

    http://scientificninja.com/blo...

    You should be worrying about making a good solid game. Not an rpg template for other people to use. If you actually make a real complete game you will be in a much better position to refine your code and think critically about what you really need. Eventually you will have an rpg template. If you never actually make that game because your goal is always on creating an "rpg engine" you will very likely end up with something that isn't really usable by others.

    On the technical side, as stated by someone else, it is really time to start breaking this into modules. You also need to learn to load graphic resources with a loop rather than loading everything individually. In terms of file paths you should always use os.path.join. Finally the big one; you need to get that main loop at the bottom under control. You shouldn't have multiple event loops or multiple game loops. You should have one clean game loop (while) that has an event loop function. That event loop should pass events to the current state of the game as needed.

    Anyway, not trying to sound too negative. I do like your project but would much rather see you create a nice game than an "rpg template" that never actually sees action.

    -Mek

  • Gamer90030 2013-07-05 20:10:32

    Why does this have to be a zip file?! I CAN'T DOWNLOAD ZIP FILES DANG IT. I have no idea why I have a Pygame account in the first place. I CAN'T DOWNLOAD ANY GAMES ON IT

    Mekire 2013-07-09 04:46:38

    You do realize this site is primarily for programmers? Though you my find some fun games here the goal is to share and view code from people with the same hobby. Also, no coder worth anything is going to have their files presented not in a zip (save for repositories which you would no doubt find even more difficult). You not being able to figure out zips is not our problem; it is yours. If indeed you are an aspiring Python programmer, then you better figure this out. There is no way you will be able to learn to code if you aren't even capable of unzipping something.

    -Mek

  • Someone 2015-01-04 20:59:01

    Legend of Zelda is not an RPG. It is similar to one, but it isn't.

    Someone 2015-01-04 21:00:52

    And also I like the game you made.

    Someone 2015-01-04 21:03:59

    Actually I can't play it because I opened the main file but it didn't work. That might be because I am using python 3.2.

  • The Illuminati 2015-02-17 16:22:46

    Very buggy. Only one mob that was having a seizure and I had to fix a few of the runtime errors myself. Apart from that, it looked like a good start. Keep working on it.

  • jan6 2016-01-23 18:17:54

    i'd like to develop it further,but i need a different name for it, any ideas? it looks like this project lost a sudden death round, so i hope i'm allowed to re-relase it (ver 0.0.1 of my ver will be 0.3.1 of miniworld with no changes and 0.1.0 will be cleaned-up version). please reply with your ideas!

    ---jan6

  • friv4k 2016-04-21 18:00:01

    Likte hver bit blog.Really gleder của å lese mer. Cool.

  • Benjy 2017-04-30 02:26:34.207082

    For the map saving I would suggest using tmx files which can be more complex and easier to edit than normal image files.

    Benjy 2017-04-30 02:26:54.302140

    You can edit them with Tiled map editor