-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeff Tyson
committed
Jul 1, 2015
1 parent
491e546
commit 81cf719
Showing
1 changed file
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
|
||
--- |