My Favorite Book

Work alone or with a partner to use the provided library map to show where your favorite books can be found, and tell us about that area. When you're finished, hit save and name it.

1. Go to SNAP page

2. Login

3. Look for Thrash and My Favorite Book Lesson

New Tag: Broadcast

  • Use the Broadcast tag for characters to talk to each other:

Often one sprite will have to tell another sprite to run a script. Here’s a simple example: In the block, the word “bark” is just an name I made up to describe the dog's action.

When you click on the downward arrowhead in that input slot, one of the choices (the only choice, the first time) is “new,” which then prompts you to enter a name for the new broadcast. When this block is run, the chosen message is sent to every sprite, which is why the block is called “broadcast.” In this program, though, only one sprite has a script to run when that broadcast is sent, namely the dog. Because the boy’s script uses broadcast and wait rather than just broadcast, the boy doesn’t go on to his next say block until the dog’s script finishes. That’s why the two sprites take turns talking, instead of both talking at once.

Find this and other tips at: https://snap.berkeley.edu/SnapManual.pdf

Add Costumes for your Sprite

When you start, the sprite is an arrow. You can decide the costume for your Library Patron, by following these directions.

1. Clicking on the arrow

2. In the top left corner, choose the file menu and then Costumes at the bottom.

3. It takes a second to open all the costumes.

4. Scroll through to choose a costume and then hit "Import"

5. Your arrow becomes that costume.

Create a Book Cover

One option, instead of choosing a sprite, is to create one with the template given.

Awesome examples of book covers!

Movements Using the Coordinate Grid

Use this grid to calculate where you need your Sprite to go on the Stage. The center would be 0,0.

You can also click on "Mouse X" and "Mouse Y" under "Sensing" - see second screenshot.

Change Backgrounds

1. Click on the stage icon in the sprite corral, click on "Backgrounds" tab to see what backgrounds you have and change the focus to be on the background images.

2. If you need more backgrounds, click on "Costumes" to upload your background. Name those images so they are easy to find.

3. Use Code Block "Switch to Costume" under the Looks category to make it change to any of the files you need.

Extension Activities

  • PLAY WITH THE OPTION FOR BROADCAST - LOOK AT HOW IT WORKS
  • ADD A SPRITE FOR more CATEGORIES SUCH AS FANTASY, MYSTERY, HISTORICAL, GRAPHIC NOVELS, ETC.
  • ADD ANIMATIONS TO MAKE THE PROGRAM MORE INTERACTIVE
  • ADD MORE INFORMATION SPECIFIC TO THE CATEGORIES FOR EACH BOOK
  • ADD OTHER FEATURES TO HELP STUDENTS UNDERSTAND CLASSIFICATION

Saving your file to share

After you have saved the latest version of your code, choose File --> Export, to save the code as an .XML file.

An .XML file can only open in SNAP or other programs that can translate the text it finds.

It will open in your downloads folder on your computer. Now you can upload that file to Google Drive to share!

When you receive a file, login to SNAP and drag your new file into the code area. VOILA! There is the program!

Drag the file into the coding area, or save it to Google and share with someone!

Mrs. Thrash (ethrash) would love to see your work!


File -->