
CSD U3L20 Collision Detection Overview
Presentation
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Patrick Trejo
Used 2+ times
FREE Resource
18 Slides • 20 Questions
1
Interactive Animations and Games
Lesson 20
Collision Detection
2
3
Example Animation
Interactive Animations and Games Lesson 19 - Warm Up
4
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
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
9
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
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!
True
False
11
Multiple Choice
Using the grid, find the position of the sprite (right in the middle of the square) and the sprite’s size.
True
False
12
Multiple Choice
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.
True
False
13
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.
True
False
15
Multiple Choice
Can you use the numbers to decide whether the sprites are touching? Brainstorm some ideas to figure it out.
True
False
16
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
Will you use the Problem Solving Process on the Collision Detection worksheet?
True
False
18
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
Why does the code only use the width and x properties, and not the height and y properties?
20
Open Ended
Would you want to write this code every time you checked whether something was touching?
21
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.
True
False
23
Multiple Choice
In Clever|Code.org, Level 3-5, if you get stuck, try Help and Tips Tab and Code Documentation.
True
False
24
Multiple Choice
If you make a big mistake, use version history to go back.
True
False
25
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.
True
False
27
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.
True
False
29
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.
True
False
31
Multiple Choice
In Clever|Code.org, Level 8, Challenge Level, check out the Help and Tips tab if you need help.
True
False
32
33
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
Interactive Animations and Games Lesson 19 - Wrap
Up
Key Vocabulary
● Abstraction- a simplified representation of
something more complex.
36
Open Ended
What is an abstraction?
37
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?
Interactive Animations and Games
Lesson 20
Collision Detection
Show answer
Auto Play
Slide 1 / 38
SLIDE
Similar Resources on Wayground
31 questions
Meteoroids, Meteors, Meteorites
Presentation
•
6th - 8th Grade
32 questions
Properties & Changes of Matter
Presentation
•
6th - 8th Grade
33 questions
Moon Phases
Presentation
•
6th - 9th Grade
36 questions
Lesson 1.5
Presentation
•
6th - 8th Grade
32 questions
Brands and Logos
Presentation
•
6th - 8th Grade
33 questions
Electromagnets!
Presentation
•
6th - 8th Grade
32 questions
Do you know the difference between the C,E,&R?
Presentation
•
6th - 8th Grade
32 questions
Python - print/output/input + data types
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade