TASK #1
The "Deer Hunter" program will start with various reindeer sprites appearing
randomly around the screen. The user will have 6 bullets that they can use to
cause each deer to pop. The user will also be able to reload their clip.
The first task is to watch the introduction video below
to get an idea of what
the project entails. An extension exercise here is allow the user only a certain amount of clips.
After watching the video, be sure to
open up the "Starter Pack"
.
Make sure you click on the remix button after Scratch opens up so that it saves on your account.
TASK #2
TASK:
Get the gunsight and bullseye to follow the pointer.
HINT #1:
You will need to use the "Forever"
and "Goto"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #3
TASK:
Get the reindeer to clone 100 times every 0.5 seconds in random locations.
HINT #1:
You will need to use the "Create Clone"
,
"Wait"
, "Repeat"
, "Goto"
,
and "Random"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #4
TASK:
Make the reindeer disappear when the mouse is down and
touching the bullseye sprite.
HINT #1:
You will need to use the "When I Start as Clone"
,
"Forever"
, "If"
, "Touching"
,
"Mouse Down"
, and "Delete Clone"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #5
TASK:
Adjust your firing instructions so that the player cannot hold down the fire button.
HINT #1:
You will need to use the "When I Start as Clone"
,
"Forever"
, "If"
, "Touching"
,
"Mouse Down"
, and "Delete Clone"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #6
TASK:
Adjust your algorithm so that the ‘reindeer’ appears behind ‘far_left’ and slides to the right.
HINT #1:
You will need to use the "Go Back Layers"
,
"Goto x/y"
, and "glide"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #7
TASK:
Adjust your algorithm so that the reindeer randomly appears behind
‘far_left’ and ‘middle_left’. The ‘reindeer’ should slide into view from behind both sprites.
HINT #1:
Create a "location" variable. You will also need to
use the "EQUALS" operator and the "Set Variable"
,
"Pick Random"
, "If"
,
and "Broadcast"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #8
TASK:
Adjust your algorithm so that the reindeer appears randomly behind every other tree sprite as well.
HINT #1:
You will need to use the
"When I Receive"
, "Hide/Show"
,
"Go Back Layers"
, and "Go To Front"
blocks.
HINT #2:
None.
CHECK UP:
None.
TASK #9
TASK:
Keep track of the number of bullets the player has.
HINT #1:
Create a "bullet variable"
, use the
"EQUALS"
and "NOT"
operators. Also be sure to use the
"Forever"
, "If"
, "Mouse Down"
,
"Set Variable To"
, "Wait"
, and the
"Change Variable By"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #10
TASK:
Make the bullet sprites disappear after each mouse down event.
HINT #1:
You will need to
Create a bullet variable
and use the "GREATER THAN"
and "LESS THAN"
operators, and the "Forever"
,
"If/else"
, "if"
and "Show/Hide"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
TASK #11
TASK:
Program the ‘Z’ button
to reload the clip.
HINT #1:
You will need to use the "If"
,
"Key Pressed"
, and "Set Variable To"
blocks.
CHECK UP:
Watch the video below to check that you completed the task.
CHALLENGES EXERCISES
- Respond randomly to all user inputs.
- Check if the user typed in '10' to '12' and respond randomly.
- Check if the user entered a number less than 1 or greater than 12
and respond appropriately.
- Have a relevant sprite appear after the user input and add animation.
- Force the program to stop when the user enters the text “I’m done.” or “I’m finished.”