What’s Next

That was a lot of code. But it was worth it. We put many of our skills to use with physics, lights, and materials. We also saw glimpses of what else is possible in 3D programming by pulling vertices of shapes and converting local coordinates to “world” coordinates.

Like our other games, do not consider this one final. There’s still plenty that you can add. Maybe you can incorporate obstacles that take away points? Add some jumps? Make this a multilevel game as we did in Chapter 19, Project: Multilevel Game? Make the course longer? You might try adding camera controls so you can see from the viewpoint of a raft passenger instead of viewing everything from above. Or maybe you already have ideas for how to improve this game that I ...

Get 3D Game Programming for Kids 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.