Description
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
Lesson 1: Introduction to Motion and Events Coding Blocks
The precursor to any game programming is having your screen react to user input. This simple animation shows how you can code sprites (characters) to react to your button presses dynamically. In this lesson the diver moves using the arrow keys (left, right, up and down), while the shark moves using the following letters: l = left, u = up, d = down, r=right.
In this example you'll:
- Get to know the Scratch development workspace
- Learn about the different coding blocks (this lesson we focus on Motion and Events)
- Understand how code responds to events such as user inputs
- Have fun!
Full solution can be found here: lesson1
Full Coding Lesson in Scratch: Introduction to Motion & Events Coding (Lesson 1)
Highlights
Description
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
Lesson 1: Introduction to Motion and Events Coding Blocks
The precursor to any game programming is having your screen react to user input. This simple animation shows how you can code sprites (characters) to react to your button presses dynamically. In this lesson the diver moves using the arrow keys (left, right, up and down), while the shark moves using the following letters: l = left, u = up, d = down, r=right.
In this example you'll:
- Get to know the Scratch development workspace
- Learn about the different coding blocks (this lesson we focus on Motion and Events)
- Understand how code responds to events such as user inputs
- Have fun!
Full solution can be found here: lesson1




