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

#1 2011-04-14 12:45:41

land_of_light
Scratcher
Registered: 2010-10-27
Posts: 25

i need help with variables

i am quite good at scratch, i know almost everything accept variables please help me, i don't get the things in the help button! i need variables to finish my masterpiece!


cats, scripts, projects, OH MY!

Offline

 

#2 2011-04-15 13:57:35

dancet8m2
Scratcher
Registered: 2010-03-04
Posts: 12

Re: i need help with variables

How Do You Need To Use The Variables?


http://www.purple.com/affinity/pointlessly_purple.png

Offline

 

#3 2011-04-15 14:11:55

blizzari
Scratcher
Registered: 2010-07-11
Posts: 100+

Re: i need help with variables

I could help i know everything about variables and lists


http://needasig.com/4OZhF.png
http://needasig.com/bBVfH.png

Offline

 

#4 2011-04-16 06:25:11

land_of_light
Scratcher
Registered: 2010-10-27
Posts: 25

Re: i need help with variables

i need to use gravity for a game


cats, scripts, projects, OH MY!

Offline

 

#5 2011-04-16 06:40:45

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: i need help with variables

Download this and examine the ball or stage scripts (I can't remember which one)

http://scratch.mit.edu/projects/muppetds/1573009


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#6 2011-04-16 08:12:51

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: i need help with variables

Variables are saved values that you can edit, etc. They're like reporters with a watcher, and blocks set what they report.
---------------------------------------
For a subsitute you can use 2 lists, e.g. Variable Names, and Values of Variables. With the lists shown, you see the values. Let's pretend the list Variable Names is called "1" and the other "2". Now on list 1, there is one item called "Variable". On list 2 there is another item called "0". To get the value of the variable, use block (item (number of value on list 2) of [2]).

Offline

 

#7 2011-04-16 12:53:34

land_of_light
Scratcher
Registered: 2010-10-27
Posts: 25

Re: i need help with variables

cool


cats, scripts, projects, OH MY!

Offline

 

#8 2011-04-17 02:51:55

land_of_light
Scratcher
Registered: 2010-10-27
Posts: 25

Re: i need help with variables

i know lists, but i need variables


cats, scripts, projects, OH MY!

Offline

 

#9 2011-04-17 02:57:28

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: i need help with variables

land_of_light wrote:

i know lists, but i need variables

variables are values that you can change and set


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#10 2011-04-17 03:38:24

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: i need help with variables

Variables and lists on the Scratch Wikismile
EDIT: I think this should go in All About Scratch.

Last edited by scimonster (2011-04-17 03:39:08)

Offline

 

#11 2011-04-17 11:55:08

AMD64
New Scratcher
Registered: 2011-04-16
Posts: 3

Re: i need help with variables

One of my friends has some cool Physics Projects! Scroller with near perfect gravity and sensing

Offline

 

Board footer