Book Image

Blender Game Engine: Beginner's Guide

Book Image

Blender Game Engine: Beginner's Guide

Overview of this book

Blender Game Engine is the part of the Blender 3D editor used to create actual 3D video games. It's the ideal entry level game development environment because you don't even need to learn to program. Create a complete game using Bender's innovative logic bricks."Blender Game Engine: Beginner's Guide" is the ideal introduction to game development. Using only logic bricks, the reader will create a complete game in Blender. By the end of the book the reader will be able to use their skills to create their own 3D games.
Table of Contents (11 chapters)
10
Index

Time for action — returning to the original position

Reopen the last exercise where we made the whale cross an arc of icebergs to reach the end of the first level of the play. Remove all of the icebergs to make it easier to understand and work on this exercise. We will only allow the whale and the plane to be displayed. When the player touches the plane, the whale returns to its initial position.

  1. Go to File, and click on Append. Add a new iceberg:
    Time for action — returning to the original position
  2. Choose Game Logic as the screen layout, and click on the whale to select it. You must see the whale marked in the Logic Editor panel:
    Time for action — returning to the original position

    Tip

    Remember to choose Blender Game as the engine to use the rendered scene.

  3. Select the whale and click Add Sensor to choose a sensor called Touch. You will also see the Keyboard sensors that were made for moving the whale (refer to Chapter 1, Things You Need to Know, to see how they were created):
    Time for action — returning to the original position

    Tip

    We use the Touch sensor when the object is in contact with another object without the needed properties. A Collision...