What is the name of a character in Scratch?
A sprite
What block repeats the code inside forever?
The forever block/loop
Name one thing that makes a game more fun.
Music, scores, enemies, levels, characters, story, challenges, etc
When Green Flag Clicked
Say "Hello!" for 2 seconds
The sprite will say hello for 2 seconds.
What button starts your program?
The green flag
Saying "Hello" is a kind of _____ block (found in what category?)
If a game is too easy, what could you add?
Enemy, timer, bosses, obstacles, more levels, etc
Forever
Move 10 steps
The sprite will move forever.
Where do you drag coding blocks to?
The coding area
What block tells the computer to make a decision?
If then or if then else
Name 2 things we added to our games this week.
Examples:
Variables
Movement
Costumes
Sounds
Score
Forever
If
When touching star
Change score by 1
Whenever you touch the star, your score will increase by 1.
What is the setting/background called?
The backdrop
Name a way you upgraded your game and how.
Examples:
- Adding an enemy
- Adding music
- Adding backgrounds
When Green Flag
Go to random position
Every time you start, the sprite will go to a random place on the screen.
Scratch is inspired by the coding language ____
Java
Name 2 kinds of sensing blocks.
- Sensing another sprite
- Sensing an arrow key pressed
What is a variable?
What does if-then do?
Variable: stores data like a score and can be changed.
If-then: tells our computer to make a decision.
[Forever
(if right arrow key pressed: move 10 steps)
(if left arrow key pressed: move -10 steps)
]
Our code for our rocketship sprite.
Moves the sprite left and right by using arrow keys.