
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
33 questions
Colonial Life
Presentation
•
6th - 8th Grade
33 questions
Ozaria - Lesson 1 - Algorithms & Problem Solving
Presentation
•
6th - 8th Grade
30 questions
Input, Output & Processing
Presentation
•
6th - 8th Grade
31 questions
Physical and Chemical Changes Review
Presentation
•
6th - 8th Grade
31 questions
Primary and Secondary Sources
Presentation
•
6th - 8th Grade
31 questions
Evolution and Natural Selection
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade
Discover more resources for Computers
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
20 questions
Revising & Editing practice
Quiz
•
7th Grade
10 questions
Box Plots
Quiz
•
6th - 7th Grade
8 questions
Amoeba Sister Asexual vs Sexual Reproduction
Interactive video
•
8th Grade
10 questions
April Fool's Day Pranks and Tips
Interactive video
•
3rd - 6th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade