Editing
Terminal
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Controls === Any key pressed by the player affects the text input. Many keys and common shortcuts do not function the same in the terminal as they would in other typical applications. The output of each key has been mapped below: [[File:Terminal Keyboard.png|thumb|center|1200px|A keyboard diagram for the outputs of the terminal.]] The keys that have special functions are as follows: * '''Shift''': Change text to uppercase * '''Esc''': Exits from the terminal and returns to the main menu * '''Enter''': Enters the command for processing * '''Space''': Self-explanatory * '''Backspace''': Also self-explanatory, although it is limited to only erasing one letter per keypress * '''Ctrl + Backspace''': Erases the entire line (screen does not update until another key is pressed) * '''Num Lock''': Alters the outputs of certain numpad keys Many keys have been altered to produce different text results than normal, including some special keys. This is controlled by three key functions: * The game converts all key inputs except for ''enter'', ''shift'', ''backspace'', and ''space'' into plaintext outputs;[https://github.com/BemboLikePizza/VsDave/blob/0e5ab3d7e6bc61e3538ab51077c770dc76434278/source/TerminalState.hx#L442] * It then checks from the array '''unformattedSymbols''' to see if the newly-converted string matches any entries; * If there is a match, it changes the output again to its equivalent properly formatted symbol stored in the array '''formattedSymbols'''. To use an example from the game, this process looks like this: The player presses the semicolon key. This input is converted to a lowercase string, which becomes "semicolon". Finally, this string becomes the correct intended symbol, ";". However, the list of unformatted symbols is not exhaustive to all the keys on the keyboard and only includes numbers and limited punctuation marks.[https://github.com/BemboLikePizza/VsDave/blob/0e5ab3d7e6bc61e3538ab51077c770dc76434278/source/TerminalState.hx#L37] This is why many keys, which do not have any matches in the unformattedSymbol array, simply produce the plaintext name of the key when pressed. Interestingly, an unformatted entry for ''plus'' exists but not for its formatted equivalent. Because caps lock has a plaintext output, pressing it will not affect the casing of typed letters. Only the shift key can alter casing, and it does this universally for any key that has an output containing alphabetic letters (so entering Shift + Ctrl will output CONTROL). Due to the modifications to the shift and ctrl keys, it is impossible to use a majority of keyboard shortcuts, such as copying, pasting, selecting, and moving selected text. Other features to note: * The following symbols are impossible to type: '''!@#$%^&*()_+{}|\:"'<>?`~'''. ''Valid'' symbols include: ''',./;[]=''' * Esc is both a function and a text key. For a split second while the screen transitions, one will be able to see "escape" having been added to the text input. * The alt key does nothing, but it does produce a sound when pressed.
Summary:
Please note that all contributions to Dave and Bambi Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Dave and Bambi Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information