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

#1 2009-04-14 11:43:17

Ivaash
Scratcher
Registered: 2008-02-08
Posts: 100+

Hide show variable?

When will it start working online it's pretty annoying!


Hey there..

Offline

 

#2 2009-04-24 07:04:45

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Hide show variable?

I KNOW!!!! For instance this project http://scratch.mit.edu/projects/bosox397/500244 is supposed to show ur time at the end but it never does


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#3 2009-04-24 11:49:57

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Hide show variable?

It works fine here:
http://scratch.mit.edu/projects/Zelda9000/410083

As long as the mouse is down, it shows.

Offline

 

#4 2009-04-24 12:55:00

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Hide show variable?

I haven't had any problems with this in any of my projects.

For example, check out my black jack game...

http://scratch.mit.edu/projects/BoltBait/472525

It shows and hides variables all the time. 

Perhaps I could give you pointers on how to get this to work.  Just ask!


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#5 2009-04-24 16:56:26

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Hide show variable?

how do i get it to work


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#6 2009-04-24 17:09:15

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Hide show variable?

bosox397 wrote:

how do i get it to work

OK, here's the deal...

When you save your project, it must have all variables that you care about VISIBLE and in the style you want.

Then, in the "When Green Flag Pressed" script, hide the ones you don't want showing at the time.

If you will notice about my projects (like BlackJack and Cribbage Solitaire) they have the variables visible but hidden behind a full screen sprite that serves as a title page.  Before the title page disappears it hides all the variables.

That's it.  smile


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer