From 81cf719665c4a77a80c5669fd6ef62167a1b6368 Mon Sep 17 00:00:00 2001 From: Jeff Tyson Date: Wed, 1 Jul 2015 10:21:26 -0700 Subject: [PATCH] Lab 1.2 without images. --- lab_12.md | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/lab_12.md b/lab_12.md index 8e1f67aa..dadf9ec6 100644 --- a/lab_12.md +++ b/lab_12.md @@ -1 +1,64 @@ -# Lab 1.2 +# 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.** + +1. What do the blocks in the **Motion** category do? + --- +2. What do the blocks in the **Looks** category do? + --- +3. What do the blocks in the **Sound** category do? + --- +4. 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. +1. Use the repeat block to play your song on loop +1. 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. +1. 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: + +---