2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

controls.md 5.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Controls
  2. | Action | Default Gamepad Control | Effect | Remarks |
  3. |---------|-----------------------------------------------|-----------------------------------|--------------------------------------------------------------------------------------------------------|
  4. | Up | DPad Up/Left Stick Up/Right Stick Up | Select Menu Item Up/Look Up | |
  5. | Right | DPad Right/Left Stick Right/Right Stick Right | Select Menu Item Right/Move Right | |
  6. | Down | DPad Down/Left Stick Down/Right Stick Down | Select Menu Item Down/Crouch | |
  7. | Left | DPad Left/Left Stick Left/Right Stick Left | Select Menu Item Left/Move Left | |
  8. | Affirm | Start | Confirm Selected Option | |
  9. | Negate | Select (Back) | Go Back | |
  10. | Action0 | Button X | Jump | When crouched, player will go down a solid-on-top ground. |
  11. | Action1 | Right Trigger | Primary Fire | Each weapon has firing characteristics, see below. |
  12. | Action2 | Left Trigger | Secondary Fire | Each weapon has firing characteristics, see below. |
  13. | Action3 | Button A | Reload | Reload always drops current clip regardless if there are rounds left. |
  14. | Action4 | Button Y | Switch Weapon Mode | Press to select next weapon mode (cycle), hold then press Left/Right to set previous/next weapon mode. |
  15. | Action5 | Right Bumper (Shoulder) | Switch Weapon | Press to select next weapon (cycle), hold then press Left/Right to set previous/next weapon. |
  16. | Action6 | Left Stick Button | Item/Inventory | Hold to open inventory, double press to use current item. |
  17. | Action7 | Right Stick Button | Switch Item | Press to select next item (cycle), hold then press Left/Right to set previous/next item. |
  18. | Action8 | Left Bumper (Shoulder) | Take Cover | Enter doors, go between objects to hide from enemies. |
  19. | Action9 | Button B | Sneak | Hold then press Left/Right to sneak. (do we need this control, or crouch is enough?) |
  20. # Control Internals
  21. | Control | Config Key |
  22. |-------------------------|------------------------|
  23. | DPad Left | `button:dpleft` |
  24. | DPad Right | `button:dpright` |
  25. | DPad Up | `button:dpup` |
  26. | DPad Down | `button:dpdown` |
  27. | Start | `button:start` |
  28. | Select (Back) | `button:back` |
  29. | Button A | `button:a` |
  30. | Button B | `button:b` |
  31. | Button X | `button:x` |
  32. | Button Y | `button:y` |
  33. | Left Bumper (Shoulder) | `button:leftshoulder` |
  34. | Right Bumper (Shoulder) | `button:rightshoulder` |
  35. | Left Stick Button | `button:leftstick` |
  36. | Right Stick Button | `button:rightstick` |
  37. | Left Trigger | `axis:+lefttrigger` |
  38. | Right Trigger | `axis:+righttrigger` |
  39. | Left Stick Left | `axis:-leftx` |
  40. | Left Stick Right | `axis:+leftx` |
  41. | Left Stick Up | `axis:-lefty` |
  42. | Left Stick Down | `axis:+lefty` |
  43. | Right Stick Left | `axis:-rightx` |
  44. | Right Stick Right | `axis:+rightx` |
  45. | Right Stick Up | `axis:-righty` |
  46. | Right Stick Down | `axis:+righty` |
  47. > **Note:** The config keys are based from SDL internal names, only we have added the `button:` and `axis:` bind
  48. > prefixes to be flexible on setting up controls on the gamepad. The reason is because gamepad controls use different
  49. > types of binds.