Hello everyone, just joined the forum because I've been messing around with making a RPG but now I am in a time crunch as I am leaving for the Navy in 2 months. I am going for the Nuke program so I will not have much time to be working on this so I would like to get some sort of workable game before I go, all be it simple but I want to just get the main engine done.
I am going for something like ladderslasher if anyone knows what that is. (http://ladderslasher.d2jsp.com/) link at top left if you want to check that out, you must register for the forum tho.
I previously had a version complete however due to the fact that I didn't know BitBlt functions it was built with ~500 picture tiles for each map. As you can imagine this crashed after a while (usually after changing maps). Now I got BitBlt kinda working (slowly teaching myself) but I was looking for some ideas on how to build an inventory.
My plan from old game was to have several lists each with the base stat for each weapon. For example there was lstWName, lstWStr, lstWDex, ect... I would obtain all of these from a text document and a loop. I wasn't sure if there was a better way to do this or not. I also had lists for types of magic stats and their variables.
My plan then for the inventory was to have another text document and the first line would be the number of items in my bag, then after that it would be a series of numbers correlating to the item, it's lvl, it's magic lvl, and the types of magic. This I was not sure exactly sure how it would work with having a number, lets say 4, for the magic lvl, then running a loop (for checking each magic type and the quality of magic) inside of the first loop (the one that reads whole inventory).
Anyway I was wondering if anyone had either a working inventory that I could check out for some new ideas, or a better idea on how I can accomplish this. I am currently working on switching all of my files to this laptop so once that is done I will upload some code for you to see.
Thank you in advance for the help ^^
I am going for something like ladderslasher if anyone knows what that is. (http://ladderslasher.d2jsp.com/) link at top left if you want to check that out, you must register for the forum tho.
I previously had a version complete however due to the fact that I didn't know BitBlt functions it was built with ~500 picture tiles for each map. As you can imagine this crashed after a while (usually after changing maps). Now I got BitBlt kinda working (slowly teaching myself) but I was looking for some ideas on how to build an inventory.
My plan from old game was to have several lists each with the base stat for each weapon. For example there was lstWName, lstWStr, lstWDex, ect... I would obtain all of these from a text document and a loop. I wasn't sure if there was a better way to do this or not. I also had lists for types of magic stats and their variables.
My plan then for the inventory was to have another text document and the first line would be the number of items in my bag, then after that it would be a series of numbers correlating to the item, it's lvl, it's magic lvl, and the types of magic. This I was not sure exactly sure how it would work with having a number, lets say 4, for the magic lvl, then running a loop (for checking each magic type and the quality of magic) inside of the first loop (the one that reads whole inventory).
Anyway I was wondering if anyone had either a working inventory that I could check out for some new ideas, or a better idea on how I can accomplish this. I am currently working on switching all of my files to this laptop so once that is done I will upload some code for you to see.
Thank you in advance for the help ^^