instructions for scratch demo game

11
Drum Set Game Instructions Creating Actors 1.) Select the “Choose new Sprite from file” button towards the bottom right of the screen (select the one with the folder in the middle). Then click the “Things” folder. Now select the “drum 1” actor, then click “ok”. (You should see “Sprite 1” under your drum.”) 2.) Repeat step 1 but this time, select “drum 2”. 3.) Repeat and select “trampoline”. 4.) Repeat and select “beachball1”. 5.) Create 2 additional beachballs. Setting backgrounds 6.) Now, select the “stage” to the left of your actors. 7.) Select Control at the top left. Click and drag the “When key is pressed” to the Scripts area (the middle). 8.) Repeat until there are 5 of them in the middle.

Upload: elisha-patterson

Post on 26-Jan-2017

131 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Instructions for Scratch Demo Game

Drum Set Game InstructionsCreating Actors

1.) Select the “Choose new Sprite from file” button towards the bottom right of the screen (select the one with the folder in the middle). Then click the “Things” folder. Now select the “drum 1” actor, then click “ok”. (You should see “Sprite 1” under your drum.”)

2.) Repeat step 1 but this time, select “drum 2”.3.) Repeat and select “trampoline”.4.) Repeat and select “beachball1”.5.) Create 2 additional beachballs.

Setting backgrounds

6.) Now, select the “stage” to the left of your actors. 7.) Select Control at the top left. Click and drag the “When key is pressed” to the Scripts area (the

middle).8.) Repeat until there are 5 of them in the middle.9.) Select the Looks button at the top left. Click and drag the “next background” function under

“When key is pressed”.10.) Select the Sound button. Click and drag the “play sound” function under the second “When key

is pressed” function.11.) Select Looks button. Click and drag the “next background” function under “play sound”.12.) Select the Sound button. Click and drag the “play sound” function under the third “When key is

pressed” function.

Page 2: Instructions for Scratch Demo Game

13.) Select Looks button. Click and drag the “next background” function under “play sound”.14.) Select Sound button. Click and drag the “play sound” function under the fourth “When key is

pressed” function.15.) Select Sound button. Click and drag the “set instrument to” function under “play sound”.16.) Select Looks button. Click and drag “change effect by” function under “set instrument to”

function.

You should now see 5 blocks of “When key is pressed” statements.

Assigning keys to the Scripts (code blocks)

17.) Now, for the first block, after “When”, select the “space” key (if not already selected).18.) For the second block, click the dropdown arrow and select the “up arrow key”.19.) For the third block, click the dropdown arrow and select the “down arrow key”.20.) For the fourth block, click the dropdown arrow and select the “left arrow key”.21.) For the fifth block, click the dropdown arrow and select the “right arrow key”.

Page 3: Instructions for Scratch Demo Game

Importing Backgrounds

22.) Now, click the “Backgrounds” tab at the top.23.) Click “Import”. Next, click the “Nature” folder, then double click “grand canyon”.24.) Click “Import”. Next, click the “Nature” folder, then double click “beach malibu”.25.) Click “Import”. Next, click the “Nature” folder, then double click “wave”.26.) Click “Import”. Next, click the “Nature” folder, then double click “hill”.27.) Click “Import”. Next, click the “Indoors” folder, then double click “hall”.28.) Click “Import”. Next, click the “Outdoors” folder, then double click “boardwalk”.29.) Click “Import”. Next, click the “Sports” folder, then double click “basketball court” (any one

you want).30.) Click “Import”. Next, click the “Outdoors” folder, then double click “city with water” (any one

you want).31.) Click “Import”. Next, click the “Outdoors” folder, then double click “hallway outdoors”.

Spiffy! Your screen should look something like this. If not, Mayday! Ask for help!

Importing Sounds 32.) Click “Import”. Click the “Effects” folder and double-click the “Pop” sound.33.) Click “Import”. Click the “Instruments” folder and double-click the “Chord” sound.34.) Click “Import”. Click the “Instruments” folder and double-click the “String Accent” sound.

Page 4: Instructions for Scratch Demo Game

Assigning keys, sounds and backgrounds to Scripts

35.) For the first block, set the “play sound” to “Cymbal Crash” (if it isn’t already).36.) For the second block, set “play sound” to “pop”.37.) Repeat for the third block.38.) For the fourth block, set “play sound” to “String Accent”. Set instrument to 1 (if not already).

Then, set “change effect by” to “color” and “-25”.39.) For the fourth block, set “play sound” to “Chord”. Set instrument to 1 (if not already). Then, set

“change effect by” to “color” and “25”.

Done with the background!

Sprite 1

40.) Click on your “Sprite 1” actor. (Make sure you are under the “Scripts” tab)41.) Click the Control button (psst! Top left). Then click the “When Sprite1 is clicked” function and

drag it to the stage (the middle).42.) Click the Sound button. Then click the “play drum for beats” function under “When Sprite1 is

clicked.” Set the drum type and the beats to whatever to want.

Page 5: Instructions for Scratch Demo Game

Sprite 2

43.) Click on your “Sprite 2” actor… Now, please.44.) Click the Control button. Then click the “When Sprite2 is clicked” function and drag it to

the stage (the middle).45.) Click the Sound button. Then click the “play drum for beats” function under “When Sprite2

is clicked.” Set the drum type and the beats to whatever to want.

Sprite 3

46.) Click on your “Sprite 3” actor.47.) Click the Control button. Then click the “When Sprite3 is clicked” function and drag it to

the stage (the middle).48.) Click the Sound button. Then click and drag the “play sound” function to the stage under

“When Sprite3 is clicked”.49.) Now, click the “Sounds” tab (NOT button) at the top.50.) Click “Import”, next the “electronic” folder, and then double-click “Space Ripple”.51.) Now click back to the “Scripts” tab (where you were). Click the drop down arrow under

“play sound” and assign it to (guess what?) “Space Ripple”.

Page 6: Instructions for Scratch Demo Game

Sprite 4

52.) Click on your “Sprite4” actor.53.) Click and drag the “When Sprite4 is clicked” function to the stage.54.) Click the Motion button. Next, drag the “move steps” function and set it to “20” (if not

already).55.) Now, click and drag the “if on edge, bounce” under “move 20 steps”.56.) Click and drag the “turn degrees” block and set it to “90” degrees.

57.) Now click the Sound button and drag “play sound” under “turn 90 degrees”.58.) Now click the Control button. Click the “if” function and drag it under the “play sound”

function.59.) Now click the Sensing button and drag the “touching” function inside the “if” statement at

the top. Click the drop-down arrow in “touching” and set it to “Sprite 3”.60.) Click on the Motion button again. Next, drag the “turn degrees” function inside the “if”

function under the “touching” function and set it to “180”.61.) Click on the “move steps” function under the “turn 180 degrees” and set the steps to “10”. 62.) Now, click the Sound tab (NOT button). Click “import”, then the “electronic” folder, and

then double-click “Laser 1”.63.) Now, click back to the “Scripts” tab (where you were). Click the drop down arrow under

“play sound” and assign it to “Laser 1”.

Sprite 5

(Same steps as Sprite 4 with a few small changes)

64.) Click on your “Sprite5” actor.53.) Click and drag the “When Sprite4 is clicked” function to the stage.

Page 7: Instructions for Scratch Demo Game

54.) Click the Motion button. Next, drag the “move steps” function and set it to “20” (if not already).

55.) Now, click and drag the “if on edge, bounce” under “move 20 steps”.56.) Click and drag the “turn degrees” block and set it to “180” degrees.

57.) Now click the Sound button and drag “play sound” under “turn 180 degrees”.58.) Now click the Control button. Click the “if” function and drag it under the “play sound”

function.59.) Now click the Sensing button and drag the “touching” function inside the “if” statement at

the top. Click the drop-down arrow in “touching” and set it to “Sprite 3”.60.) Click on the Motion button again. Next, drag the “turn degrees” function inside the “if”

function under the “touching” function and set it to “180”.61.) Click on the “move steps” function under the “turn 180 degrees” and set the steps to “10”. 62.) Now, click the Sound tab (NOT button). Click “import”, then the “electronic” folder, and

then double-click “Zoop”.63.) Now, click back to the “Scripts” tab (where you were). Click the drop down arrow under

“play sound” and assign it to “Zoop”.

Sprite 6

(Same steps as Sprite 4 and 5 with a few small changes)

Click on your “Sprite6” actor.53.) Click and drag the “When Sprite6 is clicked” function to the stage.54.) Click the Motion button. Next, drag the “move steps” function and set it to “20” (if not

already).55.) Now, click and drag the “if on edge, bounce” under “move 20 steps”.56.) Click and drag the “turn degrees” block and set it to “270” degrees.

Page 8: Instructions for Scratch Demo Game

57.) Now click the “Sound” button and drag “play sound” under “turn 270 degrees”.58.) Now click the Control button. Click the “if” function and drag it under the “play sound”

function.59.) Now click the Sensing button and drag the “touching” function inside the “if” statement at

the top. Click the drop-down arrow in “touching” and set it to “Sprite 3”.60.) Click on the Motion button again. Next, drag the “turn degrees” function inside the “if”

function under the “touching” function and set it to “180”.61.) Click on the “move steps” function under the “turn 180 degrees” and set the steps to “10”. 62.) Now, click the “Sound” tab (NOT button). Click “import”, then the “effects” folder, and then

double-click “Water Drop”.63.) Now, click back to the “Scripts” tab (where you were). Click the drop down arrow under

“play sound” and assign it to “Water Drop”.

Fantastic!! You’re done! Now, connect your MaKey MaKey kit and have some fun! Feel free to change the sounds, colors, backgrounds, etc. as you wish.