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 — making the hunter shoot

We could not leave the explanation of how to create a shooter game, so to learn this technique, you only need to understand that a bullet is an object that appears and disappears in our level of play every time we press the trigger button. So, we must create a way for the bullet to be fired as many times as necessary, and as often as we press the firing button. If we don't shoot, we have no bullet, if we fired, there are enough bullets.

  1. Add an empty object near the ship in the scene with some objects, as shown in the next screenshot:
    Time for action — making the hunter shoot
  2. Press Shift and select the empty object and then the boat. Set the order ...

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