Chapter 11Project: Fruit Hunt

When you’re done with this chapter, you will

  • Be able to add sounds to games

  • Be able to add simple scoring to a game

  • Have a silly game to play

We have an avatar. We have trees. Let’s make a game in which our avatar has to get stuff out of those trees. The trees are hiding yummy fruit that the avatar wants. And if the avatar can get to the fruit in time, points will be added to the scoreboard.

It will end up looking something like this:

images/player_game/when_you_are_done.png

Congratulations to fellow game programmer Sophie H. for coming up with the winning game concept used in this chapter!

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.