Scratch Lab #2

Name: Robby Rowell

Period: 7

Assignment: Scratch Lab #1

Lab Overview

This lab required that we use loops and costume changes to make our sprites move. My projects are HERE, HERE, and HERE.

My Solution

My solution to the first problem was to create a random shape with my name on it, and have it glide around the screen in a loop, rotating at one point and changing colors at another. For the second problem, I made the sprite continuosly draw a regular hexagon. I figured out the points I would need for a regular hexagon using some geometry, then made used the pen up and pen down command to draw the shape. I then used a loop command to make the sprite repeatedly draw the shape. For the third problem I created the loop structures shown in the problem and had them each start on a different command.

My Project Link

Questions

  1. What are the types of loops contained in Scratch? What are the differences?
      There are loops that repeat a certain amount of times and there are loops that can repeat forever.
  2. If you are given a situation where you want an action to repeat, but you don’t know how long it should repeat for, which loop is the best structure to use? Why?
    • There is a certain loop that allows you to stop when a certain action that appears on the screen.