CODE CREATIVE
WHERE ARE MY KEYS?
Always the last place you look
TASK #1
The "Find Your Keys" program will present the user with a series of scenes that they can interact with. They will use the cursor to touch different items and the items will respond with a message indicating if the keys are found there.
The first task is to watch the introduction video below
to get an idea of what the project entails. An extension exercise here is to add several levels by requiring another item to be found first before the keys can be found.
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:
Have the game start at the
‘beg_screen’
and switch to
‘livingroom_back’
when the mouse button is pressed.

HINT #1:
You will need to use the
"Switch Backdrop"
,
"Wait"
and
"Wait Until"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #3
TASK:
Have all the items that belong in
‘livingroom_back’
, including the arrows, appear when the background switches to
‘livingroom_back’
.

HINT #1:
Use the
"When backdrop switches to"
,
"Hide"
and
"Show"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #4
TASK:
Have the game navigate to the different backdrops when the
Arrow Sprites
are clicked.

HINT #1:
You will need to use the
"When this Sprite Clicked"
,
"Forever"
,
"If
,
"Background_name"
, and the
"EQUALS"
operator blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #5
TASK:
Have the correct
Sprites
show when the backdrop switches.

HINT #1:
You will need to use the
"When Backdrop Switches To"
and
"Show/Hide"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #6
TASK:
Have each
Sprite
say something when clicked.

HINT #1:
Use the
"When This Sprite Clicked"
event block.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #7
TASK:
Allow the user to find the
key
when they click on a specific item sprite.

HINT #1:
Create a variable
and use the
"Set Variable To"
block.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #8
TASK:
When the
left arrow
is clicked in
‘guest_room’
, do not change the backdrop to
‘secret_room’
unless the player has found the
key
.

HINT #1:
Use
"When this Sprite Clicked"
event block. Also use the
"Say"
,
"Variable
, and
"Set Variable To"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
CHALLENGES EXERCISES
  1. Add an up arrow to ‘living_room_front’.

  2. Instead of using the pointer to navigate, use a sprite ‘cursor_hand’ as your pointer.

  3. Add a time limit. If time runs out, show an ending screen.

  4. Create animations when certain items are clicked.

  5. Create different difficulty levels.

  6. Make the user be able to only look at one item at a time.