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

#1 2012-03-03 15:45:41

jackfusion
Scratcher
Registered: 2007-05-19
Posts: 6

show and hide variables

Is there a way to show and hide a variable or list when a user presses a key?

Offline

 

#2 2012-03-03 15:47:36

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: show and hide variables

when [space v] key pressed
hide variable [Variable v]
There's currently no way to show/hide lists, though that's coming in Scratch 2.0  smile

Last edited by RedRocker227 (2012-03-03 15:48:00)


Why

Offline

 

#3 2012-03-03 15:53:35

jackfusion
Scratcher
Registered: 2007-05-19
Posts: 6

Re: show and hide variables

Is there a way to have a list only show when a selected background is displayed? Why I am asking this is because I am trying to have a stage or list show when a user hits a key for a game I am creating.  So the list is not always showing during the game.  The different lists will show weapons, potions and items the character has collected along the way.

Offline

 

#4 2012-03-03 16:19:40

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: show and hide variables

Have a large white/background-colored sprite the same size as the list you have that shows and hides in front of the list, hiding and showing the list.


http://trinary.tk/images/signature_.php

Offline

 

#5 2012-03-03 16:59:16

jackfusion
Scratcher
Registered: 2007-05-19
Posts: 6

Re: show and hide variables

thank you it worked.

Offline

 

#6 2012-03-03 17:37:42

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: show and hide variables

Wrong forum...

Offline

 

#7 2012-03-03 17:39:51

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: show and hide variables

You can report it to be moved or closed, now that it has been resolved.


http://trinary.tk/images/signature_.php

Offline

 

Board footer