What’s Next

Collision detection in games is a really tricky problem to solve, so congratulations on getting this far. It gets even tougher once you have to worry about moving up and down in addition to left, right, back, and forward. But the concept is the same.

Usually we rely on code collections written by other people to help us with those cases. We’ll use such a code library when we get to the mini-games.

But first let’s put the finishing touch on our avatar game. In the next chapter, we’ll add sounds and scoring. Let’s get to it!

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.