Legend of the Secret - Text/GUI based RPG - My first game project

-This is my first game in java. I have been working on it off and on for about a year now. It used to run in the command prompt but I converted it to GUI recently.

It is available at www.davideis.com

It was called David’s RPG, but I renamed it to “Legend of the Secret”
EDIT: NEW VERSION
Download It:[http://www.java-gaming.org/user-generated-content/members/270009/legend-of-the-secret.jar]Test Version[/url]

Just for fun this is Version 0.9 before I converted it to use a GUI. This does need JDK and Windows.

that was entertaining. if you had some hidden treasure to find i would have played it all day haha.

after playing for a while, the game seems to think my inventory is full when buying an item, even though i have only 5 items and was previously carrying more than 15. the repair weapon button needs work… all it does is break my weapon, maybe have it modified by skill?

Thanks for the input…

  1. I like the hidden treasure idea. I will add it soon. If that’s ok.
  2. I am in process of writing documentation for my game. The inventory is supposed to be filled after a certain number of weapons/items. the storage increases as you level up and you can get/buy items to increase the size. I do need to notify the player of this. I used to show the locked slots in the inventory screen but when I switched from standard arrays to arraylists I couldn’t figure out a good way to do that.
  3. The repair weapon does have a chance to break your weapon but I do agree that it should have less of a chance to do that as you level up.

Thank you again for playing it, you are one of the few so far. I do update the game several times a week and i will start posting on here as well as the web site when there is a new version. On my web site I have all of the old versions that you can look at, even though they are not as good any more.

This was quite a bit of fun!

I am going to play this more later :smiley:

I really like the GUI it’s really neat.
Although I would like to be able to select an item by clicking on rather than entering the number.
From my knowledge of GUI’s there should be an object that handles that… Hmm… Don’t remember the name of it though…

It was quite a struggle to get to another city, but it actually felt like an achievement when I finally got there, so the balance seems good :slight_smile:

I think there should be an option to rest when you are in a city. I was quite unlucky with poison-potions (4*60% before it worked), so it would be nice to be able to get rid of bad-effects and restore health.

Edit:
Apparently I played an older version… The one in the description :stuck_out_tongue:

still something wrong with inventory - i had 2 empty slots, used an inventory items increase item. this left me with 3 empty slots when there should be 4 since the increaser was removed also.

the items in the shop shouldnt change very often, all i have to do is enter and exit the shop repeatedly and i will get exactly the items i want and become too powerful too fast. maybe make it add a new item to each shop after walking 20 times or something, but the shops still cant go over their maximim number of items.

the poison/paralysis/ etc removers are annoying, they should probably be slightly harder to get, but work almost all the time. by the time the 5th cure poison hasnt cured your poison it gets frustrating… it would be less frustrating if you were out exploring and had forgotten to take the right cures with you, or didnt have enough space for them.

weapon slots dont seem very necessary, you only need 1 main weapon which can become overly strong. maybe fill other slots up with armor or things that you need to take to a particular city?

add a nicer image for the map, it doesnt have to be amazing but it would be a quick way to make the game look a whole lot more detailed. the game in general is very simple but has room for a lot of variety and detail hidden all over the place. which means you need to add all these things for the player to discover and keep them wanting to see what else they can discover.

Thank you both for your input. This gives me more to work on.

I will definitely fix the potions. LiquidNitrogen…can you send me your save file so I can check out the inventory problem.

The game is definitely not finished, I plan to add quests and other areas with different monsters and obstacles later. Right now I am getting most of the basic bugs worked out, eg. Inventory, Items, Balancing…

I could add armor and reduce the focus on the weapons. I will add that to my list.

Also the map, I just added that not too long ago but the reason everything is boxy on it is because I am using “Points” to set your location, the city locations, and barriers like the lake and mountains.

I will look into making the inventory menu easier to use.

This game was originally set in the command prompt but I couldn’t figure out how to make work without having to compile and run it, so I decided to make a GUI and converted most System.out.println and input statements to dialog boxes…

Again thank you for playing and giving me input.

P.S. There is a certain place you can click on the explore screen to enter into the debug menu and you can mess around with changing different stats.

just playing around again… your weapon and inventory increase items dont seem to increase either weapon or inventory slots available… leveling up increases the amount of weapon slots though.

you can still keep the map boxy with some rocks and grass and trees pasted into the boxes :slight_smile:

I will look into that then.

I will also make the map look nicer later…

Right this minute I am converting the inventory screen to use jList boxes (what Hermasetas suggested) so instead of typing the number of the item use can click the name of the item/weapon and then use the action buttons.

I just realized that I for got to tell it to add to the slot count. Lol

I have uploaded a new version… 4.7…Download

This is what I fixed:

Redesigned the Inventory screen and Store… Now you click on the item from the list and then use the action buttons to perform the desired actions.

Added a rest feature when in town. Limited to a few uses at a time. Counter will reset as you travel and battle.

Limited the number of times you can refresh the items in the store. As with the rest feature there is a counter that will reset as you travel and battle.

Increase the chance of the potions working, now the lowest has an 85% chance to work.

Fixed a glitch with the inventory slot counter not working properly.

Fixed the font to be unified across all screens.

i think you need some more limits and tweaks on the stats, by the time i got to the island village i was pretty much invincible. resting would give me over 100,000 health after a while. i can kill every enemy with 1 hit.

theres still something with the inventory, i can keep buying items untill i have -2 slots left then it will say my inventory is full.
using buttons to manipulate items is way better than typing the numbers though, thats a good upgrade!

I will mess around with the stats some more and take a deeper look at the inventory. The rest feature is an easy fix because i was just being lazy and just took half your health and added it to your current health. I’ll just need to come up with a better formula for it.

Wow the new inventory looks great! :smiley:

Thanks, I am glad you like them.

I think I figured out the inventory problem, were you level 11 by an chance?

I did figure it out I had about 5 different little tiny lines that missing or incorrect in various places. One of the things I discovered was somehow I never told it what to do for the item inventory if you are level 11. It should be fixed now.
Also just for fun I changed the jList boxes in the inventory and store from single selection to multi selections so now you can select multiple items and perform actions with them (Very Useful). I didn’t do much balancing, i will mess with that later, I did however change the rest calculation so you don’t get so much health.

Also fun fact, my game has 7865 lines of code.

New Version 4.7.1

Very fun game,
But I think I found a bug… I was able to rest quite a many times without it charging me any money… After abusing the rest system I was able to get to 75,000 at Level 5 :open_mouth: . I’m pretty sure that this could be a gamebreaker/bug.

Thank you for playing. I just added the rest feature and I have been trying to balance it. I think I am just going to have it return the health back to the default for that level.

EDIT:
I was trying to figure out what you meant about not charging you money and I realized that I didn’t actually subtract the cost from your current money. ;D

I uploaded a new version: Version 4.7.2

I uploaded a new version: Version 4.7.3

I fixed the rest feature, and modified the enemies, they should be more challenging.

Just for fun this is Version 0.9 before I converted it to use a GUI. This does need JDK and Windows.

I took a break from my game for a little while to work on another project because I was putting off the next major step, QUESTS. I am pretty much done with the basic functionality of my game, I just made a small list of minor fixes to fix but its pretty much done. Now I need to work on a story and quests and also add some different enemies. I am open to suggestions and any ideas anyone has. Plus if you find a bug please let me know.

-Thanks