Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 7.03 KB

File metadata and controls

77 lines (53 loc) · 7.03 KB

Lab 1.2: Snap! Scavenger Hunt

In this lab, you will explore the functionality of some common blocks and where they are located in the palette.

1. Locating common blocks

1.1) Fill in the name of the category to which each block belongs in the chart below. The first one is already filled in for example.

Block Category
point in direction motion
think
play notes
set pen color
glide
repeat
change pen size
set effect
go to x-y
set size
rest for beats
point towards .

2. What does it do?

2.1) Describe the function of each block in the chart below. If the block accepts arguments (contains values that you can change), be sure to test out a few different ones to make sure you fully understand what those values mean. The first one is already filled in for example.

Block Function
point in direction                                                         Changes the direction that the sprite is facing. The argument indicates the number of degrees the sprite turns clockwise from pointing upwards. When the argument is "90", the sprite points right, and so on.
think
play notes
set pen color
glide
repeat
change pen size
set effect
go to x-y
set size
rest for beats
point towards .

2.2) At this point, you may be noticing some patterns. Use what you've learned from exploring these blocks to answer the questions below about each block category.

a. What do the blocks in the Motion category do?


b. What do the blocks in the Looks category do?


c. What do the blocks in the Sound category do?


d. What do the blocks in the Pen category do?


3. Put it all together

You are now going to use some of the blocks you've explored to create, save, and submit a Snap! program.

  1. Create a script that plays 4 different notes with at least 2 rests in between.
  2. Use the repeat block to play your song on loop
  3. Create a script that initializes the sprite at position (-20, 10). Then, have the sprite draw a shape that has at least 2 different colors and 2 different line thicknesses. An example would be a square that has 2 thin red sides, and 2 thick blue sides.
  4. BONUS: Create a SNAP script that draws a picture of your choice. Use at least four of the blocks from parts 1 and 2. Be creative!
  5. When you've completed all of the scripts above, save your file, share it, and then copy the unique URL below. Be sure to share and publish your file before pasting the URL.

File URL: