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 — using the up or down options

If you only want to play with the up and down options to better visualize your choice, you can resort to the creation of a single button that complies with this specification. The most logical option is to create a button that has the capacity to move. Let's see it.

  1. Use the text that we created in the previous example and add one more line of text, write the letter Q and the text Quit too:
    Time for action — using the up or down options

    Tip

    A plane has a short distance from all of the text.

  2. Make a cube, scale it and put it in the middle of the text, and then place it, as shown in the following image:
    Time for action — using the up or down options
  3. Make an animation. For example, in frame 1, the rectangle is above the first text, and in frame 2, it is above the second. Press I to insert a keyframe twice:
    Time for action — using the up or down options
  4. Select the rectangle, and go to Logic Editor. Add two Sensors called Keyboard, two Controllers called And, and two Actuators called Action. In the first Keyboard sensor, press the up arrow key, connect it with one controller, and...