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

#1 2007-07-10 23:20:44

beebe
Scratcher
Registered: 2007-05-28
Posts: 39

variables

The point about variables is that you use them to keep track of score, health, speed, strengh etc.... For example: You want to keep track of the game's score, so you go to the  very last red icon beneath the SCRATCH thing. Click Make a variables and type in "score". 
First set the score by dragging the Set ? to, you may set it to 0.  Then if the player like get 1 peice of gold or defeated someone, you must drag the change ? by and type the amount of score it will get. Also you can do lots of other things about variables, like if you want to take away gold you can type in -? ok? Or you can use it to keep track of something.



               









?= your number

Last edited by beebe (2007-07-29 15:15:12)

Offline

 

#2 2007-07-17 21:49:39

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: variables

Thanks for posting beebe, I am glad you find variables useful and come to explain to others how to use them.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

Board footer