Getting Started

To make this game, we need the avatar, the trees, and the collision-detection functions that we’ve been working 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 that project we’ve been working on.

From the menu in the ICE 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. There is a fairly nice scoreboard built into the ICE Code Editor, but we have to load the library first. In Chapter 9, What’s All That Other Code?, we looked at the libraries that are loaded with the <script> tags at the very top of the code. We need to add another ...

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.