JRPG Inventory Example?

For questions about using Classic.

Post » Wed Oct 06, 2010 7:37 pm

I was wondering if there were any examples of an inventory system in the style of JRPGs where basically it can fit an indefinite number of items, scroll through them as necessary, and display quantity. I have already started working on this type of a system but since I'm new an example would be extremely helpful if one exists (i tried searching). Thanks.
B
11
S
2
G
3
Posts: 283
Reputation: 1,968

Post » Thu Oct 07, 2010 10:55 am

I don't believe there are any examples of a specifically JRPG kind of inventory.

However, there is David's example which I have never actually looked into. So I cannot say if it's close to the style you're aiming for or not.
[url:3l94ltjv]http://www.scirra.com/forum/viewtopic.php?f=16&t=2772[/url:3l94ltjv]

Then there's scidave's tutorial Mikey's Adventure, which i believe does feature a list kind of inventory.
[url:3l94ltjv]http://www.scirra.com/forum/viewtopic.php?f=8&t=4421[/url:3l94ltjv]

There's also a simple example I made for a western-style RPG inventory:
[url:3l94ltjv]http://www.scirra.com/forum/viewtopic.php?f=3&t=4949#p39226[/url:3l94ltjv]

Looking through these examples might help you to find an own approach. I'd say such a thing would definitely involve an array, to create the columns and the rows of the item list and a hash table which has the items stored with their quantity as the key value. So much for the very rough theory.

If you need further help keep asking. :)
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Thu Oct 07, 2010 4:19 pm

Thanks! Since posting this I have already found and modified Mikey's Adventure inventory to include most of the functions i need. In addition, I still haven't fully decided whether a jrpg or wrpg style system would work better for my game or if it will be some hybrid (the game is neither of those genres and both systems have pros and cons as a result) so thanks for the wrpg example as well
B
11
S
2
G
3
Posts: 283
Reputation: 1,968


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests