Today, you are going to start exploring programming with SNAP! Run SNAP! and sign in to your account. You will see 3 basic areas in the workspace: the programming blocks, the workspace, and the "run" space, where the scripts run the game. Within the workspace, you'll see 3 tabs, scripts (where you create programs, which you can name and save, stages, which are the images that you can place for the game, and sounds. Within the "run" space, you'll see the stage on top (where the image of the game resides and the game is actually played) and space on the bottom for Sprites, which are the players.
To begin with, I've given you some images for stages, one Sprite and 3 sounds. As you work for your actual assignment, you can create your own images, sounds and Sprites. Files can be imported by dragging and dropping them in the appropriate part of the workspace. There are some code examples below, as well. The manual is available on the main SNAP! page.
For those of you with Scratch or other block programming experience, this shouldn't be too frustrating. For those of you with less experience, it might be a little frustrating. Working through those frustrations and figuring this out is the best way to learn (really!) Feel free to work alone or with one partner as you start to get used to it. As you figure it out, go ahead and check out your assignment and get to work on it. I'll be there Friday for sure and hope to get in before the end of class Thursday. Help each other out, please.
Your assignment, which is due Monday, is here:
To begin with, I've given you some images for stages, one Sprite and 3 sounds. As you work for your actual assignment, you can create your own images, sounds and Sprites. Files can be imported by dragging and dropping them in the appropriate part of the workspace. There are some code examples below, as well. The manual is available on the main SNAP! page.
For those of you with Scratch or other block programming experience, this shouldn't be too frustrating. For those of you with less experience, it might be a little frustrating. Working through those frustrations and figuring this out is the best way to learn (really!) Feel free to work alone or with one partner as you start to get used to it. As you figure it out, go ahead and check out your assignment and get to work on it. I'll be there Friday for sure and hope to get in before the end of class Thursday. Help each other out, please.
Your assignment, which is due Monday, is here:
![]()
| ![]()
|
Maze Resources: you can upload image and sound files to the SNAP! programming workspace.
Big Al, the Sprite ![]()
Three sound files: | Four "costumes," image files for Maze Levels 1-4 ![]()
|
![]()
| ![]()
|
![]()
| ![]()
|
![]()
| ![]()
|
And, here are some code blocks for reference.
![]()
| ![]()
|