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 you can add. Maybe you can incorporate obstacles that take away points? Add some jumps? Make this a two-player game as we did in Chapter 18, ​Project: Two-Player Games​? 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. Maybe the game would look better with texture images? Could you make ...

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.