Tankbuster v2.0.0.0 inputmap bug
by Tom Ogburn · in Torque X 2D · 03/15/2008 (6:45 am) · 1 replies
In Game.cs
In the function -> protected void _SetupInputMap(TorqueObject player)
Should be
gamepad doesn't have an escape key, and this prevents you from exiting the game using the keyboard. You can always use the mouse and click the 'x' in the top right corner so this isn't a high severity bug
--Tom
In the function -> protected void _SetupInputMap(TorqueObject player)
inputMap.BindCommand(gamepadId, (int)Keys.Escape, null, UnloadLevel);
Should be
inputMap.BindCommand(keyboardId, (int)Keys.Escape, null, UnloadLevel);
gamepad doesn't have an escape key, and this prevents you from exiting the game using the keyboard. You can always use the mouse and click the 'x' in the top right corner so this isn't a high severity bug
--Tom
About the author
Owner of Starlit Sky Games, Senior Developer / Architect at Migration.Mobi
Associate John Kanalakis
EnvyGames
John K.