Engine:Keyboard and mouse: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
Line 23: Line 23:


; Move
; Move
* <code>W</code> - forward
* <code>W</code>,<code>Up</code> - forward
* <code>S</code> - backward
* <code>S</code>,<code>Down</code> - backward
* <code>Q</code> - strafe left
* <code>Q</code> - strafe left
* <code>E</code> - strafe right
* <code>E</code> - strafe right
* <code>A</code> - rotate left
* <code>A</code>,<code>Left</code> - rotate left
* <code>D</code> - rotate right
* <code>D</code>,<code>Right</code> - rotate right


; Special move
; Special move

Revision as of 03:26, 18 November 2023

Engine development

This is a reference for default mouse and keyboard commands in Engine.

Notes

  • This is the general default key and mouse setup used for testing
  • In text/console mode the keyboard and mouse behave differently

Reference

Keyboard

Basic
  • `~ - open console
  • Esc - cancel editor selection, close console, close engine
Console
  • Enter - execute text in console text box
  • Shift-Enter - create new line in console text box
Display toggles
  • P - toggle show framerate
  • L - toggle show log text
  • T - toggle show test 1 (C draw lines)
  • I - toggle show test 2 (Script draw lines)
Move
  • W,Up - forward
  • S,Down - backward
  • Q - strafe left
  • E - strafe right
  • A,Left - rotate left
  • D,Right - rotate right
Special move
  • Space - up, jump
  • C - down, crouch
  • N - rotate left
  • W - rotate right
Special function
  • F1 - toggle attach camera to self, first person
  • F2 - toggle attach camera to self, third person