Game Development Community

Joystiq support?

by AzraelK · in Torque Game Builder · 08/16/2006 (11:08 am) · 1 replies

Is there any joystiq support for the Torque Game Builder, or is this a feature only available in the pro version?

#1
08/16/2006 (2:42 pm)
To my knowledge, joystick support is available in TGB -- the only difference between the Pro and Non-Pro is the availability of the C++ Source Code to the engine itself.

To bind to a joystick, you would do the same as you would binding to the mouse, using;

moveMap.bindCmd(joystick0, "pov0", "doAction();", "stopAction();");

Though, I am not 100% sure if it's "joy0" or "joystick0", and the "pov0" is questionable as well but this is all documented in the TorqueScript documentation.