Desktop Control Guide
Complete keyboard & mouse reference for the desktop player controller.
DesktopPlayer.csDesktopPlayerInputHandler.csCamera Modes
First Person
F1
Camera locked to the character's head. Mouse controls look direction & rotates the character body. Cursor is hidden. Aim IK enabled.
Third Person
F2
Camera follows the character from behind. Offset adjustable with I / K / O / L. Cursor is visible.
Spectator
F3
Detached free-fly camera. Move with T / G / F / H and rotate by holding right mouse. Cursor is visible.
Movement
| Key | Action | Type |
|---|---|---|
| W | Move Forward | Hold |
| S | Move Backward | Hold |
| A | Strafe Left | Hold |
| D | Strafe Right | Hold |
| Left Shift | Run (doubles move speed from 2 → 4) | Hold |
| Left Ctrl | Crouch | Hold |
| Space | Jump — keep holding while airborne to continuously add upward force (fly) | Hold |
| Q | Rotate character left (1° normal, 2° while running) | Hold |
| E | Rotate character right (1° normal, 2° while running) | Hold |
Third-Person Camera Offset
| Key | Action |
|---|---|
| I | Camera Forward +0.1 |
| K | Camera Forward −0.1 |
| O | Camera Up +0.1 |
| L | Camera Up −0.1 |
Note: These keys are only active in Third-Person mode.
Spectator Camera (Free-Fly)
| Key | Action |
|---|---|
| T | Fly Forward |
| G | Fly Backward |
| F | Fly Left |
| H | Fly Right |
RMB(hold) | Rotate camera with mouse |
Note: These keys are only active in Spectator mode.
Combat — Melee Attacks
| Key | Attack | Type |
|---|---|---|
| ↓ | Attack Down | Press |
| ↑ | Attack Up | Press |
| ← | Attack Left | Press |
| → | Attack Right | Press |
↑+← | Attack Up-Left (diagonal combo) | Combo |
↑+→ | Attack Up-Right (diagonal combo) | Combo |
↓+← | Attack Down-Left (diagonal combo) | Combo |
↓+→ | Attack Down-Right (diagonal combo) | Combo |
First-Person only: LMB → Attack Down / Weapon Attack | RMB → Weapon Special Attack
Levitation Spell (First-Person only)
| Key | Action | Type |
|---|---|---|
| MMB | Grab object under crosshair — hold to keep grabbed, release to release | Hold |
| V | Pull grabbed object toward player (requires MMB held) | Hold |
| B | Push grabbed object away from player (requires MMB held) | Hold |
| C | Equip grabbed weapon when it is within pickup range (≤ 0.5 m) | Press |
| T | Rotate grabbed object — tilt up (around camera right axis) | Hold |
| G | Rotate grabbed object — tilt down (around camera right axis, reversed) | Hold |
| F | Rotate grabbed object — roll left (around camera up axis) | Hold |
| H | Rotate grabbed object — roll right (around camera up axis, reversed) | Hold |
| R | Rotate grabbed object — spin clockwise (around camera forward axis) | Hold |
| Y | Rotate grabbed object — spin counter-clockwise (around camera forward axis) | Hold |
Note: All rotation keys spin at 90°/s around the grabbed object's own center. Rotation and pull/push are active only while an object is grabbed (MMB held).
Projectile Spells
| Key | Spell |
|---|---|
| Num 1 | Fire Ball |
| Num 2 | Ice Ball |
| Num 3 | Poison Ball |
| Num 6 | Dance Ball |
Note: Projectiles launch from the camera origin in First-Person mode, or from the head mount in other modes, at a velocity of 100 units/sec.
Time Controls
| Key | Action | Type |
|---|---|---|
| F5 | Toggle Pause | Toggle |
| F6 | Smooth Pause for 10 ms (one-shot) | Press |
| F7 | Smooth Pause (while held) | Hold |
| Enter | Toggle Slow Motion | Toggle |
| Num 5 | Toggle Stop Time | Toggle |
Hotkeys & Actions
| Key | Action | Type |
|---|---|---|
| 1 | Equip active weapon (re-equip current ActiveWeaponPresetId) | Press |
| 2 | Drop weapon → equip Fist | Press |
| 3 | Cast Left Hand Spell (selected spell) | Press |
| 4 | Cast Right Hand Spell (selected spell) | Press |
| 5 | Remove weapon (become unarmed villager) | Press |
| P | Toggle player visibility (hides / shows character & weapon renderers) | Toggle |
| [ | Toggle Weapon Interaction Canvas | Toggle |
| C | Scare nearby enemies — surprises & destroys morale of enemies within 10 units | Press |
| Esc | Toggle Player Menu — also locks / unlocks movement & combat | Toggle |
Quick Reference Cheat Sheet
| Category | Keys |
|---|---|
| Move | WASD |
| Modifier | ShiftRunCtrlCrouchSpaceJump / Hold to fly |
| Rotate Body | Q/E |
| Camera Mode | F11stF23rdF3Spectator |
| 3rd-Person Offset | IKdepthOLheight |
| Spectator Fly | TFGH |
| Attack Directions | ↑↓←→combos with two keys |
| Projectiles | Num 1FireNum 2IceNum 3PoisonNum 6Dance |
| Time | F5PauseF6SnapF7SmoothEnterSlow-MoNum 5Stop |
| Weapons | 1Equip2Fist5Unarmed[Canvas |
| Levitation Spell | MMBGrabVPullBPushCEquip weapon |
| Levitation Rotate | T/GTiltF/HRollR/YSpin |
| Spells | 3Left Hand4Right Hand |
| Misc | CScarePVisibilityEscMenu |
Behavior Notes
Input locking: All inputs are cleared while a Log Window is open (
IsLogWindowsOpen = true). Opening the Player Menu via Esc also sets CanAttack = false and CanMove = false.Attack conditions: Combat inputs are ignored when
CanAttack = false, when the game is paused, or when the death cam is running.Death cam: Movement and attacks are suspended while a death cam sequence is playing. The death cam activates automatically on dismemberment and picks a preset based on weighted random selection.
First-Person cursor: The cursor is hidden and warped to screen center each frame. It becomes visible when the Weapon Canvas or Player Menu is opened.
Generated from
DesktopPlayer.cs · DesktopPlayerInputHandler.cs · DesktopPlayerMovement.cs · DesktopPlayerCombat.cs · DesktopCameraController.cs · DesktopPlayerForce.cs