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

#1 2011-11-29 23:40:49

Soulesssleeper
New Scratcher
Registered: 2011-11-29
Posts: 4

New learner

Hi, I'm new to the program, because my technology teacher introduced it to us as a form of programming. He's teaching at a good rate, but I'd like to get ahead and learn more. I've been playing around with it, and the help option helps alot, but I don,t understand how the list and variables work. I see the inputs, but don't understand how they work. Could someone explain it to me? Thanks
-SS

Offline

 

#2 2011-11-29 23:44:56

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: New learner

Hey Soulesssleeper, welcome to Scratch!  smile

One of the Scratch Team members (Paddle2See), created a gallery that contains two tutorials to help teach about variables and lists, check it out here.

If you need additional help, you can always ask around in the All About Scratch forum.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#3 2011-11-30 00:36:39

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: New learner

That's how I started out on Scratch too! I actually got way ahead of my class. I got so far ahead, my teacher stopped me from going any farther.

Anyway, it may help to look at the wiki  smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#4 2011-11-30 18:47:22

Soulesssleeper
New Scratcher
Registered: 2011-11-29
Posts: 4

Re: New learner

Thanks cheddargirl, the helped me with one of my problems, but not another. If anyone could show me how to build and operate a variable and a list, it would help.
-SS

Offline

 

#5 2011-11-30 22:03:05

Freakish
Scratcher
Registered: 2011-10-25
Posts: 1000+

Re: New learner

Hello Soulesssleeper.  smile


http://i.imgur.com/y3RBV.jpg

Offline

 

#6 2011-11-30 22:14:34

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: New learner

Soulesssleeper wrote:

Thanks cheddargirl, the helped me with one of my problems, but not another. If anyone could show me how to build and operate a variable and a list, it would help.
-SS

Would you like me to make a tutorial for you?  smile

I would be happy to if you would like.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#7 2011-12-13 23:22:04

Soulesssleeper
New Scratcher
Registered: 2011-11-29
Posts: 4

Re: New learner

JJROCKER Thanks this could really help explain the logic to me. If you can, make it, them put a link here.
-SS

Offline

 

#8 2011-12-13 23:33:27

456bingo123
Scratcher
Registered: 2010-10-30
Posts: 1000+

Re: New learner

I can try to help you here, without having to go any further. A variable, is sort of like a way of keeping information. For an example, it could be used to keep a players score, to keep track of time, or to keep track of a players money. There are many other more complex things though as well. A variable can be changed by using the script:

When flag clicked
Set variable (Variable name) to (What to change the variable to)


A variable can also be added to, taken away from, multiplied, or divided, as long as it's a number. This will include using the appropriate block, in the "Numbers" Category, for multiplying, and dividing. Adding and subtracting isn't as hard. Look at the script below, to see how to add.

<when green flag clicked>
<change{ Variable Name }by( Amount to Add


Subtracting is the same, but you put a - sign in front of the amount. For an example:

<when green flag clicked>
<change{ Amount of Money }by( -10

What this will do, is subtract 10 from the variable called: Amount of Money


Also remember, that you may name variables what ever you want.


Lists are kind of the same as variables, but can hold more info. You can have a list of items a user has, or a story, or instructions for an example. They work a lot like variables.

If you have any questions about lists, or variables, feel free to ask, and I'll try to get back to you as soon as I can.


My username is now elfin8er! I will not be using this account any more!! ELF OS! (Community Collab)

Offline

 

#9 2011-12-14 21:34:14

Soulesssleeper
New Scratcher
Registered: 2011-11-29
Posts: 4

Re: New learner

456bingo123, Thanks for clearing that up for me, so if you can do it like that, then could operators also be used cooperatively with variables?
-SS

Offline

 

#10 2011-12-14 21:40:36

456bingo123
Scratcher
Registered: 2010-10-30
Posts: 1000+

Re: New learner

Soulesssleeper wrote:

456bingo123, Thanks for clearing that up for me, so if you can do it like that, then could operators also be used cooperatively with variables?
-SS

Yes. You can use operators to multiply and divide. (If I remember what operators are. I haven't used scratch for a while. Just been posting on the forums  tongue )


My username is now elfin8er! I will not be using this account any more!! ELF OS! (Community Collab)

Offline

 

Board footer