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

#1 2012-08-06 08:13:17

tntey
New Scratcher
Registered: 2012-05-07
Posts: 12

Inventory

I'm making a hunger games game were you make a character and fight other tributes
So can anyone help with a inventory so when you touch something it gives you the option to pick it up and give me your ideas

Offline

 

#2 2012-08-06 20:01:50

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Inventory

If you only want a single one of every item, use a simple list and when you're touching the item sprite, and the pick up button is pressed, add the name and hide the sprite. If you want more than one, have the same name script, but use iterative scripts and another list containing numbers to denote the amounts


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-08-06 20:13:50

tntey
New Scratcher
Registered: 2012-05-07
Posts: 12

Re: Inventory

zammer990 wrote:

If you only want a single one of every item, use a simple list and when you're touching the item sprite, and the pick up button is pressed, add the name and hide the sprite. If you want more than one, have the same name script, but use iterative scripts and another list containing numbers to denote the amounts

thanks

Offline

 

Board footer