Scratch lesson 3

Student Voice
Student Voice Questions Explained

Click the link to complete the survey:
1 / 16
suivant
Slide 1: Diapositive
ComputingLower Secondary (Key Stage 3)

Cette leçon contient 16 diapositives, avec quiz interactifs, diapositives de texte et 2 vidéos.

time-iconLa durée de la leçon est: 50 min

Éléments de cette leçon

Student Voice
Student Voice Questions Explained

Click the link to complete the survey:

Slide 1 - Diapositive

Cet élément n'a pas d'instructions

Do Now: Define the term collision.

Slide 2 - Question ouverte

Cet élément n'a pas d'instructions

Do Now answer
Collision detection concerns the detection of collisions between objects in a game.

It is used to stop sprites going through the map, players or other objects. 

Slide 3 - Diapositive

Cet élément n'a pas d'instructions

Lesson objectives 

Conquer: Understand the concept of collision in a game

Aspire Higher: Utilize this understanding to manipulate collision to create a maze.




 
 
Aspire: Create a set of loops to make a program more efficient.

Slide 4 - Diapositive

Cet élément n'a pas d'instructions

What is a sprite?
A sprite is an image or set of pixels that can be manipulated using code or code blocks.

  • A sprite is traditionally the main playable character in a game.






Slide 5 - Diapositive

Cet élément n'a pas d'instructions

Creating 2 player pong
  • We are now going to use the skills we have developed over the past 3 weeks to create a 2 player pong game. 

Slide 6 - Diapositive

Cet élément n'a pas d'instructions

I have created a template for you to use. 
Click here
Your first task is to add movement to the paddles. 
We only want them to move up and down, not left or right. 
 

Dont use this
Use this

Slide 7 - Diapositive

Give students time to work on this.

Code on each paddle should be 

Press key to move
Change Y by +10 for up or -10 for down. 

Slide 8 - Vidéo

Cet élément n'a pas d'instructions

Slide 9 - Diapositive

Cet élément n'a pas d'instructions

Slide 10 - Vidéo

Cet élément n'a pas d'instructions

You will need this set of code for both paddles.
Add this to your ball sprite.

Slide 11 - Diapositive

Cet élément n'a pas d'instructions

Slide 12 - Diapositive

Cet élément n'a pas d'instructions

What is a sprite?
A
A set of pixels controlled by the user.
B
A non player character
C
An image.
D
The code to move a character.

Slide 13 - Quiz

Cet élément n'a pas d'instructions

What is collision?
A
A set of pixels controlled by the user.
B
A non player character
C
A boundary in the game
D
The code to move a character.

Slide 14 - Quiz

Cet élément n'a pas d'instructions

Which code moves the player forward?
A
B
C
D

Slide 15 - Quiz

Cet élément n'a pas d'instructions

Which color is used for movement code?
A
Orange
B
Red
C
Blue
D
Pink

Slide 16 - Quiz

Cet élément n'a pas d'instructions