The document provides instructions for programming a cat sprite in the Scratch programming environment, including how to make it move, play sounds, and change color in response to key presses as part of a dance routine. It demonstrates dragging programming blocks like MOVE, PLAY DRUM, FOREVER, and CHANGE EFFECT into the scripts area and snapping them together to create scripts that will run when the green flag is clicked or keys are pressed.
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Scratch_1022
1. INTERFACE
SHARE SPRITE
SAVE
CURRENT
ROTATION SPRITE
STYLE
INFO
TOOLBAR
TABS
Edit scripts,
costumes, or sounds.
VIEW MODE
Change to large or
small stage view.
PRESENTATION MODE
Present your project.
LANGUAGE
GREEN FLAG
A way to start scripts.
STOP SIGN
Stops all scripts.
BLOCKS PALETTE
Blocks for
programming
your sprites.
STAGE
Where your Scratch
creations come to life.
MOUSE Y DISPLAY
Shows location of cursor.
NEW SPRITE BUTTONS
Create a new character or
object for your project.
SPRITE LIST
Thumbnails of all your
sprites. Click to select and
edit a sprite.
SCRIPTS AREA
Drag blocks in, snap them
together into scripts.
2. STAGE
Stage is where you see your stories, games, and animations come to life. Sprites move and
interact with one another on the Stage.
Stage has an x-coordinate of 0 and a y-coordinate of 0.
x:-240 y:180
x:240 y:180
x:0 y:0
y
x:240 y:-180
x:-240 y:-180
x
(cursor) around and look at the mouse x-y display
below the Stage.
3. MOVE
Drag a MOVE block into the Scripts area.
Click on the block to make the cat move.
4. ADD A SOUND
Click
Click and listen.
Drag out a PLAY DRUM and snap it onto the
MOVE block.
If you can’t hear it, check that the
sound on your computer is on.
You can choose different drums
from the pull-down menu.
5. START A DANCE
Add another MOVE block. Click inside
the block and type in a minus sign.
Click on any of the blocks
to run the stack.
Add another PLAY DRUM block, then choose
a drum from the menu. Click to run.
6. AGAIN AND AGAIN
To drag a stack, pick it up from the top block.
Click to run.
You can click on any block
to run a stack.
Drag out a FOREVER block and drop it on top of the stack.
You want the mouth of the FOREVER to wrap around the other blocks.
To stop, click the stop button
at the top of the screen.
7. GREEN FLAG
Drag out a
block and snap it on top.
Whenever you click the green
flag, your script will start.
To stop, click the stop button.