Game Development Reference
In-Depth Information
4. Select the rectangle, and go to Logic Editor . Add two Sensors called Keyboard ,
two Controllers called And , and two Actuators called Acion . In the first Keyboard
sensor, press the up arrow key, connect it with one controller, and finally with an
Acion actuator.
5. Indicaing a Play type, select the acion name for the rectangle, start from the let
with frame 1 and select End frame with 1. Do the same with the second logic brick,
as shown in the following image:
Up or down Keyboard sensors have a different Acions actuator. Frame 1
is for the up arrow key, and frame 2 is for the down arrow key.
 
Search Nedrilad ::




Custom Search