Game Development Community

Space bar doesn't shoot (SpaceShooter)

by Pauliver · in Torque X 3D · 11/20/2006 (5:47 am) · 3 replies

actionMap.BindMove(gamepadId, (int)XGamePadDevice.GamePadObjects.LeftTriggerButton, MoveMapTypes.Button, 0);
            actionMap.BindMove(gamepadId, (int)XGamePadDevice.GamePadObjects.RightTriggerButton, MoveMapTypes.Button, 0);

            actionMap.BindMove(keyboardId, (int)Keys.Space, MoveMapTypes.Button, 0);


that leads me to believe that space bar should shoot however its not working for me. What am i missing?

#1
11/20/2006 (7:53 am)
I'm not sure the spacebar is supposed to shoot. Using an Xbox 360 gamepad it's the right stick that shoots, not the triggers.
#2
11/20/2006 (8:45 am)
Arrow keys do the shooting. Maybe not the best bind setup in the world. But you need the arrow keys for directional fire. Someone want to hook up mouse aiming ? :)
#3
11/20/2006 (9:32 am)
I'll take a look at mouse aiming tonight or tomorrow night as well.