Game Development Reference
In-Depth Information
If you want to zoom in/out of the Logic Editor work area, you must press
MMB (middle mouse buton) and move it. If you want to pan work areas
click Shift buton + MMB. Choose Ctrl buton if you have Mac OS
The Blender Game Engine uses logic bricks (a combinaion of sensors, controllers,
and actuators) to control the movement and display of objects in the engine.
Sensors sense events, for example, a key press or mouse mov ement. S ensors are
linked to controllers which compare them.
Controllers check (true or false) and combine these pulses to trigger the proper
response and acivate the last group: actuators. They can also be thought of as
condiional rules.
Actuators iniiate their funcions when they get a posiive pulse from one (or more)
of their controllers.
We will explain shortly these three parts of logic bricks and set up a very basic system within
the game panel by showing how to use a sensor, controller, and actuator.
The list menu of an object's logic is only visible when the object(s)
are acive (shown in white in the outliner panel). Be sure the cube is
selected (if not, click on it in the 3D View with the right mouse buton).
Time for action - exploring the logic bricks world
All objects have two opions, one of which is a label with their name (in this case Cube ),
and the other a buton labeled Add Sensor . The Add Sensor buton adds a new sensor
to the object. The following steps will help you in exploring the world of logic bricks:
1.
Select the Cube with RMB . Click on Add Sensor and select Keyboard as the sensor
in the sub-menu listed:
 
Search Nedrilad ::




Custom Search