Loading Video

Loading ...

Write Code While Watching This Lesson

Login or create an account and code along whilst you watch this lesson.

Collision Detection

In this lesson we add collision detection to check if the cars have crashed. We also explore how we can exit the animation loop when this happens using a Boolean variable.


Tutorial Lessons

Top Down Driving Game

Top Down Driving Game
Back to Arcade Games 0% COMPLETE 13 LESSONS
1 Drawing the Road 24:47
2 Animate the Road 33:19
3 Create Your Car 20:59
4 Adding Enemy Cars 14:30
5 Collision Detection 10:41
6 Game States 17:15
7 Extensions 5:00
8 Randomly Positioning the Enemy Car 3:46
9 Adding Sound Effects and Music 16:28
10 Scoring 5:11
11 More Enemy Cars 14:40
12 Pickups 16:19
13 Speed 4:20

No comments yet!

Notify me of updates