Hi, this is Sarah! Welcome to Day 4 of Scratch Art. Today, you will make a colorful, funinteractive art piece that responds to the mouse pointer, much like a paint applicationon a computer. You will also learn about an important computer science concept: variables.
Variables are elements that store a value or keep track of things. For example, variablescan keep track of time or hold a game’s high score.
In Scratch, variables have an oval shape, for example, “x position” or “timer.”
Scratch also lets you make your own variables.
In math classes, you often see variables labeled as letters of the alphabet like x, y, or m.
In computer science, variables are named for what they represent, like “High Score,”“Lives Remaining,” or “Race Car Speed”Although variables usually store number values, they can also store attributes or text. Ifyou ever designed or named a character in a game, then you used a variable. Every timeanother character refers to you, they use the name, or variable, that you input.
In this example, each character attribute is a variable. Each variable has a name, like“gender” and stores a value, like “female.”
In today’s project, you will use a variable to adjust how quickly the sprite moves whileit changes colors and stamps. Now it’s your turn!
Open the starter project, click remix, then sign in.
Connexion pour suivre tes progrès et gagner des badges
DDR -Difficult (AA)- Party Lights de kuri_kame (https://www.youtube.com/watch?feature=player_videoeditor&v=x8yCyCnLP44) est sous licence CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
La chanson "Venture Out" est protégée par copyright SmartSound-- CC-BY-SA 4.0 ne s'applique pas
Dragon Quest IX Creating a Party at the Quester's Rest  de darkmurkrow (https://www.youtube.com/watch?feature=player_videoeditor&v=cqtXCUJKb7k) est sous licence CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
Let's Play Final Fantasy VI Part 3 - Moogles to the Rescue! de ballerscuba (https://www.youtube.com/watch?feature=player_videoeditor&v=xYNErv3owKg) est sous licence CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)