item menu (noob Q)

Game Editor comments and discussion.

item menu (noob Q)

Postby S0L1Dfake » Tue Jan 02, 2007 3:18 am

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.
User avatar
S0L1Dfake
 
Posts: 15
Joined: Mon Dec 04, 2006 7:31 am
Location: Cleveland, Ohio
Score: 0 Give a positive score

Postby Fuzzy » Tue Jan 02, 2007 4:02 am

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.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Hedfone » Tue Jan 02, 2007 4:15 am

yay! :D
demos are so much easier than having someone explain it to you! :D:P
User avatar
Hedfone
 
Posts: 174
Joined: Mon Jul 31, 2006 9:47 pm
Score: 2 Give a positive score

Postby Fuzzy » Tue Jan 02, 2007 8:20 am

Graphics are done, but I gotta work early. I will finish up tomorrow.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron