Animate A Character Move with Arrow Keys:
Scratch programming is a type of coding that helps you create your own interactive stories, games, and animations. With Scratch, you can code your project by dragging and dropping code blocks. You can use Scratch to create anything you can imagine, from a simple game to a complex animation.
Once you start coding with Scratch, you'll be surprised by everything you can make!
The Scratch interface consists of four main areas:
- Stage: where you see your project come to life.
- Block Palette: Blocks that you can use in your scripts.
- Script Area (Code Area): where you drag blocks of code to create scripts.
- Sprite Pane: Characters or objects in your project.
Start Coding!
Step 1: Pick your background and
characters
- Choose background and characters by clicking on the two circles in the bottom right corner.
- The circle with an image icon is for picking a background.
- The circle with a cat icon is for picking a character.
- “say” block from the Looks section
- “say ‘Hello’ for 2 seconds”.
- "when right arrow key pressed" block from the Control section
- “change x” from the Motion section and enter the number 10
- "when left arrow key pressed" block from the Control section
- “change x” from the Motion section and enter the number -10
- "when up arrow key pressed" block from the Control section
- “change y” from the Motion section and enter the number 10
- "when down arrow key pressed" block from the Control section
- “change y” from the Motion section and enter the number -10
TRY IT
Move your character up and down. Press the arrow keys on your keyboard to move your character around.
"This Content Sponsored by Genreviews.Online
Genreviews.online is One of the Review Portal Site
Website Link: https://genreviews.online/
Sponsor Content: #genreviews.online, #genreviews, #productreviews, #bestreviews, #reviewportal"
GOOD ! VERY MUCH USEFUL. MYKIDS ARE LEARNING VERY QUICKLY
ReplyDelete