This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-19 20:00:34

mushroomdude123
New Scratcher
Registered: 2013-02-05
Posts: 27

Making an item menu

I need help creating a item menu, like the ones they have in pokemon.(once again I'm not a noob I can handle somewhat advanced stuff)

Offline

 

#2 2013-02-19 20:05:16

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: Making an item menu

Do you need it to scroll? Explain how you want your item menu to be

Offline

 

#3 2013-02-19 20:26:19

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: Making an item menu

mushroomdude123 wrote:

I need help creating a item menu, like the ones they have in pokemon.(once again I'm not a noob I can handle somewhat advanced stuff)

So, We need to have a sprite for each button in the menu. We also need a sprite for the menu itself. just first make all of the buttons and the menu (hide), then make the menu and all of its options (show) when a key is pressed. I don't understand how you couldn't figure that out though... so maybe I'm understanding your question wrong? Idk.


http://i46.tinypic.com/3148ksz.gif

Offline

 

#4 2013-02-19 21:03:45

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Making an item menu

mushroomdude123 wrote:

I need help creating a item menu, like the ones they have in pokemon.(once again I'm not a noob I can handle somewhat advanced stuff)

Um... Let's see.

A list should contain the items you have, and another with its quantity (it's better if this is just 1 list containing all the items, and another list with the amounts of each item, even if it's 0.)

From there you should make a costume for each of the items and the amount (x1, x2, x3).

Have N*2 amount of sprites, with N being the amount of rows you want. N sprites should have item names and the other N should have the amount costumes.

Then use a/the master list of items to determine the costume number for the item. Give each sprite the costume it needs to match the item and the costume. And make it change when up/down arrows are pressed.

Does this make sense or do I have to make a sample project for you?

Offline

 

#5 2013-02-22 22:26:46

mushroomdude123
New Scratcher
Registered: 2013-02-05
Posts: 27

Re: Making an item menu

As it turns out, shortly after I posted this forum I figured it out on my own. And I did it exactly like the first guy described.

Offline

 

#6 2013-02-23 21:12:32

bob6
Scratcher
Registered: 2010-07-01
Posts: 100+

Re: Making an item menu

well then, there is no need to thank me  smile


http://i46.tinypic.com/3148ksz.gif

Offline

 

Board footer