O'Reilly logo

Blender Game Engine Beginner's Guide by Victor Kuller Bacone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — counting

The counters are useful for getting some extra points, a score in the game, and certainly, it keeps a track of objects. As an example, if we get three fish, we will grow larger in size. The easiest way is to deal with the food. Let's have a look at how it will work.

We will post our whale and four icebergs. Each time you pass one of them, you add a point. When you get four points earned, you can change the look.

  1. Choose File | Append, and select the whale. Press Link and Append from the Library button to add to the scene. Follow the the same step to add the four icebergs, as shown in the following screenshot:
    Time for action — counting

    If you see the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required