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.
A sprite turns facing right. The code says: turn 90 degrees, then turn 90 degrees again, then turn 90 degrees again.
What is the direction the sprite ends up facing?
(1500 POINTS)
Facing left (turned 270 degrees total)
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.
This is the name for the yellow blocks that make things happen when you click the green flag, press a key, or click a sprite.
(1000 POINTS)
The event blocks.
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.
This block makes your sprite say something in a speech bubble.
(1000 POINTS)
The "say" block.