An RPG Game similar to Legend of Zelda done in python and pygame.
MiniWorld is in Beta testing now, so if you want to try, download it now!
- 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
- Home Page
Pygame.org account Comments
Mekire 2013-05-02 09:45
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:
I look forward to updates. Cheers,
Lucas Sabião 2013-05-03 06:45
Good job :)
Chris Warner 2013-05-16 01:03
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:31
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
I strongly suggest you read this:
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.
Gamer90030 2013-07-05 20:10
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
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.
Moustached Anonymous 2015-01-04 20:59
Legend of Zelda is not an RPG. It is similar to one, but it isn't.
The Illuminati 2015-02-17 16:22
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
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!
friv4k 2016-04-21 18:00
Likte hver bit blog.Really gleder của å lese mer. Cool.