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

#1 2009-07-01 16:51:25

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Variable Tips

If you already know how to use variables, you might find these helpful.

If you right click (windows) or ctrl click (mac) on a variable, you a menu will pop up. I has four options.

1. Normal Readout: When you create a variable, this is the default veiw.
2. Large Readout: This is a larger display of the variable, but the variable name is hidden
3. Slider: This creates a slider that a user can change. It shows the name of the variable and the value of the variable. The default range is 0-100
4. Hide: A shortcut that hides the variable

If you change your variable to a slider, a new option appears:

Set Slider Min and Max: If you click this option, a window pops up. You can now set the minimum and maximum. The minium does not have to be 0. Click OK to continue.

Hope that helps


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#2 2009-07-01 18:37:19

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Variable Tips

Thanks so much! I did not know about that!


http://i48.tinypic.com/2z5pqad.png

Offline

 

#3 2009-07-02 22:18:23

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Variable Tips

Very helpful! Perhaps this should be stickied for newer users?

Offline

 

#4 2009-07-02 22:21:01

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: Variable Tips

I put in in the How do I use variables sticky


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#5 2010-03-30 13:05:58

NewlandBB
Scratcher
Registered: 2010-01-25
Posts: 43

Re: Variable Tips

I right clicked <{ Variable }> and it just came up with help!


For Scratch Related Content, including tutorials for help with Scratch & My opinion of the Scratch 2.0 Alpha , check out my Youtube Channel!
Username: iAmNewlandBB

Offline

 

#6 2010-03-30 13:07:34

NewlandBB
Scratcher
Registered: 2010-01-25
Posts: 43

Re: Variable Tips

Actually scratch that thanks!


For Scratch Related Content, including tutorials for help with Scratch & My opinion of the Scratch 2.0 Alpha , check out my Youtube Channel!
Username: iAmNewlandBB

Offline

 

#7 2010-03-30 13:19:15

AnonymousTom
Scratcher
Registered: 2010-03-19
Posts: 100+

Re: Variable Tips

greenflash wrote:

If you already know how to use variables, you might find these helpful.

If you right click (windows) or ctrl click (mac) on a variable, you a menu will pop up. I has four options.

1. Normal Readout: When you create a variable, this is the default veiw.
2. Large Readout: This is a larger display of the variable, but the variable name is hidden
3. Slider: This creates a slider that a user can change. It shows the name of the variable and the value of the variable. The default range is 0-100
4. Hide: A shortcut that hides the variable

If you change your variable to a slider, a new option appears:

Set Slider Min and Max: If you click this option, a window pops up. You can now set the minimum and maximum. The minium does not have to be 0. Click OK to continue.

Hope that helps

Nice tips! I just thought of a suggestion having to do with variables, so I will make a post about it. Thanks for the nice tips and the inspiration.

Offline

 

Board footer