Graphics Reference
In-Depth Information
Figure 15-32 Cone logic
Figure 15-33 Empty logic
Figure 15-34 Ball logic
Using States
You'vealreadyseentheStatespanelintheControllerscolumnoftheLogicbuttons,butsofaryouhaven'tmade
any use of it. States determine which controllers are active at any given time. Each controller and its connected
sensors and actuators are associated with one state. Any combination of the 30 possible states can be active at
any given time. States can be activated or deactivated by using a State actuator.
To see the States panel, click the small, round plus icon to the left of the controller logic brick. In Figure
15-35 , youcanseetheStatespanel.Eachofthe30light-graysquaresrepresentsastate.Darkenedstatessuchas
the upper-left state in the figure are selected, meaning that their logic is currently visible. States can be selected
or deselected analogously to layers in the 3D window, using Shift+LMB to select multiple states. States with a
dot in them are states that have associated logic bricks. In the figure, the leftmost three states in the upper row
all have logic bricks associated with them. The black dots represent states that are part of the initial state mask.
That is, these are the states that will be active when the game begins. You can select the current initial states by
 
 
 
 
Search WWH ::




Custom Search