Download presentation
Presentation is loading. Please wait.
Published byΠηνελόπεια Φιλιππίδης Modified over 6 years ago
1
Lesson 1 Introduction to Scratch Basic blocks
Using the arrow keys to move your sprite Initialization
2
Introduction to Scratch
3 areas The stage area The sprites area The scripts/costumes/sounds area
3
The Stage Area
4
The Sprites Area Sprites = actors We can have any number of sprites.
Each sprite has its own set of scripts, costumes and sounds. Stage (background) You can draw your own sprite.
5
The Scripts Programming part Drag the blocks to the scripts area
6
The Costumes Important part of making a live motion
7
The Sounds
8
Basic blocks Start Motion blocks Move
Setting the position of the sprite When the sprite touches the edge, it bounces (to the opposite direction).
9
Basic blocks Event block Looks blocks Sound blocks
When a ‘key’ is pressed Looks blocks Change costume Sound blocks Play sound
10
Using the arrow keys to move your sprite
11
Initialization Reset necessary objects to default value E.g.
(starting) position of sprites Counting variables (will be taught next lesson) etc.
12
Exercise 1 Your task: The “Cat” sprite moves under the user’s control using arrow keys. The costume of the Cat changes so that it looks like walking. Set the starting position of the Cat (initialization). The Cat “meow”s (play sound) when it goes to the right.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.