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 — collecting

The process is always the same: we have a collision in order to prove that the player really has got the medal, trophy, or in our case, the iceberg. To do this, we must create a collision after appending the whale in our new scene by performing the following steps:

  1. Choose File | Append, and select the iceberg file to get the object. Move it to get to the front of our player to make a collision, and duplicate it two times. Scale them as icons, and reposition them to the right-top screen corner:
    Time for action — collecting
  2. Create a game object attribute called icebergP in the Game Properties section as an Integer with value 2, as shown in the following ...

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