Page 1 of 1

item menu (noob Q)

PostPosted: Tue Jan 02, 2007 3:18 am
by S0L1Dfake
What is the simplest and most effective way to create an item menu your character can access at any point during the game? Where you can have a display of your current items and their respective quanities, select one and use/equip it, or just exit the menu and return to gameplay. I've tried a few ways all frustrating me. Please help. Thank you.

PostPosted: Tue Jan 02, 2007 4:02 am
by Fuzzy
Build an array that stores a list of inventory item names, corresponding to the names of special actors for the equipment(not the in world actors.. like symbols for them).

Next, have an actor called inventory or something.. this might have a void area within it, to show the inventory actors. In its draw event, you have it look at a variable that gives the number of the first item in inventory. It creates or draws the actors from that number to whatever the number it can show visibly.

ah heck. I will show ya in a demo. Should be quite easy.

PostPosted: Tue Jan 02, 2007 4:15 am
by Hedfone
yay! :D
demos are so much easier than having someone explain it to you! :D:P

PostPosted: Tue Jan 02, 2007 8:20 am
by Fuzzy
Graphics are done, but I gotta work early. I will finish up tomorrow.