Name: Daniel Harris
Period: 7
Assignment: Lab #1
This lab focused on familiarizing ourselves and learning the basics of Scratch. We learned the basic outline of how to work with the different components of Scratch. We learned about some of the basic blocks in Scratch such as commands and movement blocks. Click HERE for the full description.
The first problem was to make a cat walk around the edge of the screen. My solution involved a location command to start the cat at the bottom corner, and then glide and turn commands as well as wait commands to have the cat turn at the corners and walk on the walls.
The second problem I did was to make a hexagon form from 6 different sprites starting at the middle of the screen. To do this I made one sprite and duplicated it 5 times. I started the sprites at the center with the, “go to” command after the, “when green flag clicked” event. I then rotated the sprites to form a hexagon and found the spots for each to glide to by manually dragging the sprites to form a hexagon first.
The final problem I did was to draw a square, then a regular hexagon, then a regular triangle. To do this, I made a sprite that was a dot and I began with the event of, “when the green flag is clicked.” I then told the sprite to begin at the middle of the screen, facing right, and move 100 steps. I then had my sprite turn the require number of degrees to draw the next side; the square being 90˚ turned three times, the hexagon 60˚ turned 5 times and the triangle 120˚ turned twice. I used the pen up command and move command to ensure the shapes were far away and would not overlap.