mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Updates the BaseGame UI theme to be more legible and visually consistent.
Also standardizes and fixes the menuInputButtons system.
This commit is contained in:
parent
ba1eb59e9f
commit
37420cda66
26 changed files with 1163 additions and 643 deletions
|
|
@ -97,7 +97,16 @@ ExampleMoveMap.bind(keyboard, "ctrl h", hideHUDs);
|
|||
|
||||
ExampleMoveMap.bind(keyboard, "alt p", doScreenShotHudless);
|
||||
|
||||
ExampleMoveMap.bindCmd(keyboard, "escape", "", "disconnect();");
|
||||
function openPauseMenu(%val)
|
||||
{
|
||||
if(%val && PauseMenu.isAwake() == false)
|
||||
{
|
||||
echo("PUSHING PAUSE MENU");
|
||||
Canvas.pushDialog(PauseMenu);
|
||||
}
|
||||
}
|
||||
|
||||
ExampleMoveMap.bind(keyboard, "escape", openPauseMenu);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Movement Keys
|
||||
|
|
@ -127,7 +136,7 @@ ExampleMoveMap.bind( gamepad, thumbly, "D", "-0.23 0.23", gamePadMoveY );
|
|||
ExampleMoveMap.bind( gamepad, btn_a, jump );
|
||||
ExampleMoveMap.bind( gamepad, btn_x, moveup );
|
||||
ExampleMoveMap.bind( gamepad, btn_y, movedown );
|
||||
ExampleMoveMap.bindCmd( gamepad, btn_back, "disconnect();", "" );
|
||||
ExampleMoveMap.bindCmd( gamepad, btn_back, "Canvas.pushDialog(PauseMenu);", "" );
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Misc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue