ScratchData LogoScratchData
Back to chaase20111's profile

3. Clones and Variables remix

CHchaase20111•Created February 21, 2025
3. Clones and Variables remix
0
0
2 views
View on Scratch

Instructions

This lesson explores clones and variables. Right now, each time you press space bar, a ball is cloned. 1. Use the "Change by y" block to make each clone fall to the ground. 2. Write code that deletes clones after they fall below a y position of -170 3. We want to make the ball at the top of the screen move faster each time the spacebar is pressed. To do that, we need to use a Variable. - In the Variables section, click "Make a Variable" and name your variable "speed". -When the green flag is clicked, [Set "speed" to 3], tell the ball to [move "speed" steps], and [change "speed" by 1] every time space is clicked. 4. Right now, the balls fall right through the box. IF a ball falls into the box, can you count it and delete it? Gravity Challenge: When real-world objects fall, gravity accelerates them: their fall speed increases. Make a variable for this sprite only called "fallspeed" which changes by -1 each time through the "forever" loop and determines how fast the object falls.

Project Details

Project ID1137396511
CreatedFebruary 21, 2025
Last ModifiedFebruary 21, 2025
SharedFebruary 21, 2025
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root