TPT
Total:
$0.00
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Java Programming Lesson 18: Collision Detection with Rectangles
Share

Description

Looking to teach Java game development, collision detection, or GUI programming in your high school computer science class? This lesson is part of a complete Java programming curriculum built specifically for intro to programming, AP Computer Science Principles (APCSP), and AP Computer Science A (APCSA) support.

Students will learn how to detect when objects touch using rectangle collision detection in Java. This concept is essential in game development and helps reinforce key ideas in logic, object-oriented programming, and 2D coordinate systems. With a focus on fun, visual, interactive coding, this resource helps make Java engaging—even without prior experience.

These lessons are meant to be done over a few days; the idea is to get students doing cool stuff as fast as possible. With Java, that is NOT an easy task.

Topics:

Programming in Java 18: Collision Detection
What is Collision?

What is a game?

Rectangle collision

Creating a collision rectangle

Other collision

The Rectangle class

All lessons will come with the following:

a pdf slideshow

an editable Power Point version of the slideshow

a pacing guide with hints for teaching the section and common student
errors

an assignment, differentiated with three different levels!

an answer key in pdf form

an answer key in .java form.

Depending on your style, you could go over the slides as a group, then let students play around. Or you could just give them the slides and assignment and let them go.

Let students explore and make mistakes. Let them talk to each other and discuss their approaches. Programming takes a lot of trial and error and collaboration.

Welcome to the world of programming! It's going to be a blast!

Interested in more computer science content?? Check this out!

https://www.teacherspayteachers.com/Product/Bundle-Programming-in-Java-Course-Intro-to-Java-to-Looping-11442643

https://www.teacherspayteachers.com/Product/Bundle-Programming-in-Java-Course-Intro-to-Java-to-Arrays-11580049

https://www.teacherspayteachers.com/Product/Bundle-Learn-to-Program-Scratch-Task-Cards-LEVEL-1-3-11365530

https://www.teacherspayteachers.com/Product/Particle-Engine-Using-ArrayLists-in-Java-9074432

Interested in more games?? Check it!

https://www.teacherspayteachers.com/Product/DEMO-Math-Tac-Toe-Add-and-Subtract-Within-100-Multiply-and-Divide-Within-144-11161362

https://www.teacherspayteachers.com/Product/Anns-Adventure-DEMO-Adding-and-Subtracting-Within-100-8812762

Interested in forms to make life easier!? Got it!

https://www.teacherspayteachers.com/Product/MTSS-DI-RTI-Cooperative-Learning-Tiered-Groups-Based-on-Assessment-11097984

Report this resource to TPT
Reported resources will be reviewed by our team. Report this resource to let us know if this resource violates TPT's content guidelines.

Java Programming Lesson 18: Collision Detection with Rectangles

Howlin' Husky Math Games
222 Followers
$4.99

Highlights

Grades icon
Grades
8th - 12th, Adult Education, Higher Education
Pages
19
Answer Key
Included
Teaching Duration
2 Weeks

Save even more with bundles

Tired of spending countless hours preparing engaging Computer Science lessons for your 9th, 10th, 11th, or 12th graders? Feel like you're constantly juggling lesson planning, activity creation, and grading for your Java programming units?Introducing the **Complete Java Programming Curriculum Exercis
Price $79.84Original Price $99.80Save $19.96
20
Tired of post-AP exam lulls or struggling to find engaging Computer Science content for your 9th-12th graders and homeschoolers?Introducing the Bundle 1 Marking Period Basic Game Making Programming In Java Course, your all-in-one solution to captivate students with hands-on game development! This co
Price $27.94Original Price $34.93Save $6.99
7

Description

Looking to teach Java game development, collision detection, or GUI programming in your high school computer science class? This lesson is part of a complete Java programming curriculum built specifically for intro to programming, AP Computer Science Principles (APCSP), and AP Computer Science A (APCSA) support.

Students will learn how to detect when objects touch using rectangle collision detection in Java. This concept is essential in game development and helps reinforce key ideas in logic, object-oriented programming, and 2D coordinate systems. With a focus on fun, visual, interactive coding, this resource helps make Java engaging—even without prior experience.

These lessons are meant to be done over a few days; the idea is to get students doing cool stuff as fast as possible. With Java, that is NOT an easy task.

Topics:

Programming in Java 18: Collision Detection
What is Collision?

What is a game?

Rectangle collision

Creating a collision rectangle

Other collision

The Rectangle class

All lessons will come with the following:

a pdf slideshow

an editable Power Point version of the slideshow

a pacing guide with hints for teaching the section and common student
errors

an assignment, differentiated with three different levels!

an answer key in pdf form

an answer key in .java form.

Depending on your style, you could go over the slides as a group, then let students play around. Or you could just give them the slides and assignment and let them go.

Let students explore and make mistakes. Let them talk to each other and discuss their approaches. Programming takes a lot of trial and error and collaboration.

Welcome to the world of programming! It's going to be a blast!

Interested in more computer science content?? Check this out!

https://www.teacherspayteachers.com/Product/Bundle-Programming-in-Java-Course-Intro-to-Java-to-Looping-11442643

https://www.teacherspayteachers.com/Product/Bundle-Programming-in-Java-Course-Intro-to-Java-to-Arrays-11580049

https://www.teacherspayteachers.com/Product/Bundle-Learn-to-Program-Scratch-Task-Cards-LEVEL-1-3-11365530

https://www.teacherspayteachers.com/Product/Particle-Engine-Using-ArrayLists-in-Java-9074432

Interested in more games?? Check it!

https://www.teacherspayteachers.com/Product/DEMO-Math-Tac-Toe-Add-and-Subtract-Within-100-Multiply-and-Divide-Within-144-11161362

https://www.teacherspayteachers.com/Product/Anns-Adventure-DEMO-Adding-and-Subtracting-Within-100-8812762

Interested in forms to make life easier!? Got it!

https://www.teacherspayteachers.com/Product/MTSS-DI-RTI-Cooperative-Learning-Tiered-Groups-Based-on-Assessment-11097984

Report this resource to TPT
Reported resources will be reviewed by our team. Report this resource to let us know if this resource violates TPT's content guidelines.

Reviews

This product has not yet been rated.
Rated 0 out of 5

Questions & Answers

Loading
Loading