Getting Started

To make this game, we need the avatar, the trees, and the collision-detection functions that we’ve worked on throughout this book. After Chapter 10, ​Project: Collisions​, we have everything that we need to get started on this project. So let’s make a copy of the Collisions project.

From the menu in the 3DE Code Editor, select MAKE A COPY and enter Fruit Hunt! as the new project name.

To keep score in this game, we’ll need something new—a scoreboard. To make sounds in our game, we need something that can play audio. Rather than write our own scoreboard and sound code, we will load code collections to do it for us. In Chapter 9, ​ What’s All That Other Code?​, we saw how to load code collections with the <script> ...

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.