Search Header Logo
CSD U3L20 Collision Detection Overview

CSD U3L20 Collision Detection Overview

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Patrick Trejo

Used 2+ times

FREE Resource

18 Slides • 20 Questions

1

media

Interactive Animations and Games

Lesson 20

Collision Detection

2

media

3

media
media

Example Animation

Interactive Animations and Games Lesson 19 - Warm Up

4

media

Journal Prompt:

An interesting aspect of this animation is that the sprites change when they
touch each other.

Can you think of any way that the computer could use the sprites’ properties to
figure out whether they are touching each other?

Interactive Animations and Games Lesson 20- Warm Up

5

Open Ended

An interesting aspect of this animation is that the sprites change when they touch each other. Can you think of any way that the computer could use the sprites’ properties to figure out whether they are touching each other?

6

media

Question of the Day

How can programming help make complicated problems more simple?

Interactive Animations and Games Lesson 19 - Warm Up

7

Open Ended

How can programming help make complicated problems more simple?

8

media

9

media

Interactive Animations and Games Lesson 19 - Activity

Collision Detection

In the grid, draw two square sprites on the bottom line.
The sprites can be touching or not. Don’t let your partner
see your sprites!

Using the grid, find the position of the sprite (right in the
middle of the square) and the sprite’s size.

Copy the information about the sprite’s position and size
onto the back of your worksheet. This is the only
information you should tell your partner about the sprites.

10

Multiple Choice

Question image

In the grid, draw two square sprites on the bottom line. The sprites can be touching or not. Don’t let your partner see your sprites!

1

True

2

False

11

Multiple Choice

Question image

Using the grid, find the position of the sprite (right in the middle of the square) and the sprite’s size.

1

True

2

False

12

Multiple Choice

Question image

Copy the information about the sprite’s position and size onto the back of your worksheet. This is the only information you should tell your partner about the sprites.

1

True

2

False

13

media

Interactive Animations and Games Lesson 19 - Activity

Collision Detection

Trade worksheets with your partner only looking at the back.

Can you use the numbers to decide whether the sprites are
touching? Brainstorm some ideas to figure it out.

Try out your ideas, then check the drawing to see whether you
were correct. Do you think your strategy was effective?

14

Multiple Choice

Trade worksheets with your partner only looking at the back.

1

True

2

False

15

Multiple Choice

Question image

Can you use the numbers to decide whether the sprites are touching? Brainstorm some ideas to figure it out.

1

True

2

False

16

media

Interactive Animations and Games Lesson 19 - Activity

Collision Detection

What strategies did you and your partner use?

What can you discover from other people’s strategies?

17

Multiple Choice

Question image

Will you use the Problem Solving Process on the Collision Detection worksheet?

1

True

2

False

18

media

Clever|Code.org, Level 2

Interactive Animations and Games Lesson 19 - Activity

Look at how the computer uses math to figure out whether the
sprites are touching each other.

Read the if statements inside the draw loop and find the different sprite properties and how they are compared.

Discuss the code with your partner.

Why does the code only use the width and x properties, and not the height and y properties?

Would you want to write this code every time you checked whether something was touching?

19

Open Ended

Question image

Why does the code only use the width and x properties, and not the height and y properties?

20

Open Ended

Question image

Would you want to write this code every time you checked whether something was touching?

21

media
media
media
media

Clever|Code.org, Level 3-5

Interactive Animations and Games Lesson 19 - Activity

Do This
Follow the instructions on each level
If you get stuck, try…

Help and Tips Tab
Code Documentation

If you make a big mistake…

Use version history to go back

22

Multiple Choice

In Clever|Code.org, Level 3-5, follow the instructions on each level.

1

True

2

False

23

Multiple Choice

In Clever|Code.org, Level 3-5, if you get stuck, try Help and Tips Tab and Code Documentation.

1

True

2

False

24

Multiple Choice

If you make a big mistake, use version history to go back.

1

True

2

False

25

media
media
media

Clever|Code.org, Level 6

Practice Level

Do This

Do all of the practice levels

Follow the instructions in Code Studio

Check out the Help & Tips tab if you need help

Interactive Animations and Games Lesson 19 - Activity

26

Multiple Choice

In Clever|Code.org, Level 6, do all of the practice levels.

1

True

2

False

27

media

Clever|Code.org, Level 7

Assessment Level

Do This

Follow the instructions in Clever|Code.org

The "Rubric" tab describes how to demonstrate your understanding

Check out the Help & Tips tab if you need help

Interactive Animations and Games Lesson 19 - Activity

28

Multiple Choice

In Clever|Code.org, Level 7, Assessment Level, follow the instructions in Clever|Code.org.

1

True

2

False

29

media
media
media

Clever|Code.org, Level 8

Challenge Level

Do This

Do all of the challenge levels.

Follow the instructions in Clever|Code.org.

Check out the Help & Tips tab if you need help.

Interactive Animations and Games Lesson 19 - Activity

30

Multiple Choice

In Clever|Code.org, Level 8, Challenge Level, do all the challenge levels and follow the instructions in Clever|Code.org.

1

True

2

False

31

Multiple Choice

In Clever|Code.org, Level 8, Challenge Level, check out the Help and Tips tab if you need help.

1

True

2

False

32

media

33

media

Interactive Animations and Games Lesson 19 - Wrap
Up

Journal Prompt:

At the beginning of the lesson, you saw that it's possible to do everything that the
isTouching block does without using the block at all.

What makes this block useful?

34

Open Ended

At the beginning of the lesson, you saw that it's possible to do everything that the isTouching block does without using the block at all. What makes this block useful?

35

media

Interactive Animations and Games Lesson 19 - Wrap
Up

Key Vocabulary

Abstraction- a simplified representation of

something more complex.

36

Open Ended

Question image

What is an abstraction?

37

media

Interactive Animations and Games Lesson 19 - Wrap
Up

Question of the Day

How can programming help make complicated problems more simple?

38

Open Ended

How can programming help make complicated problems more simple?

media

Interactive Animations and Games

Lesson 20

Collision Detection

Show answer

Auto Play

Slide 1 / 38

SLIDE