Game Logic Screen Layout¶
The design, construction, debugging and running of a game use a wide range of Blender functions. To help with the process, Blender incorporates a suggested screen layout for setting up BGE games. This includes many already-familiar panels but also a new Logic Editor panel (4) concerned solely with the BGE.
The diagram below shows this default Game Logic screen layout, together with the appropriate options for game setup/debug/running (these should be set up in the order shown).
1) Game Logic
Selected from the list of screen layouts for various applications. This includes many already-familiar panels (Information, 3D View, Properties) but also a new Logic Editor panel concerned solely with the BGE.
2) Blender Game
Selected from the render engine menu. This specifies that all output will be output by the real-time Blender Game Engine renderer. It also opens various other menu options such as the Game options (see below) and a range of Properties for the BGE renderer properties (see below).
This menu gives various options for conditions for running the Game Engine. Note that this menu is only available when the render engine is set to Blender Game.
- Start Game
- Run game in Game Engine (P or Shift-P when the mouse cursor is over the 3D View editor).
- Show Debug Properties
- Show properties marked for debugging while game runs.
- Show frame-rate and profile
- Show frame-rate and profiling information while game runs.
- Show Physics visualization
- Show a visualization of physics bounds and interactions.
- Deprecation warnings
- Print warnings when using deprecated features in the Python API.
- Record animation
- Record animation to F-Curves.
- Auto Start
- Automatically start game at load time.
4) Logic Editor panel
The Logic Editor is where the logic, properties and states are set up to control the behavior of the objects in the game. (The Logic Editor panel can also be displayed by selecting Logic Editor in the Display Editor menu, by pressing Shift-F2, or by pressing Ctrl-Right).
Two Meanings for the Same Word
Note that the name “Property” has two different uses in Blender terminology – firstly in the wider use of the Property Display Panel as described here, and secondly as the term used for specific Game Engine logic variables which are also called “properties”.
The Property panel of the screen is selected as usual from the main Information menu. However, note that several sections of the Property panel are changed when the render engine (2) is changed from Blender Render to Blender Game.
See following sections for details of the content of Physics Properties panels.