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 — overlaying something like a map

This technique is applicable to maps and anything that we want to be superimposed on our screen as a Heads-up Display (HUD) . Imagine a whale hunter as a sniper: if we press an S key that implies we have superimposed crosshairs. We will see the scene with a crosshair in the middle as a hunter with his weapon. In the same way, if we press the M key, we should see an overlaid map in the scene. Let's try it first.

  1. Make a new scene, rename it as CROSSMAP, and add a camera at a position, as shown in the following screenshot:
    Time for action — overlaying something like a map
  2. Press 0 (camera view) and add a map of your level in a PNG format. Scale it and reposition it in the left-bottom corner. In this case, we are modeling a cross, but it can be substituted for anything that you want to see in the screen of the player.
    Time for action — overlaying something like a map

    Tip

    If you put a camera on top of your level, you can save it as an image in a PNG format of your map level of the game, and use it for this new scene.

  3. Go back to the scene...