FANDOM


(let's underline mnemonics the way Windows menus do, to make it clearer why certain key combos are what they are)
(Text Editor)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<sup>''!!! Work in progress, not ready for prime time, do not link from other pages yet !!!''</sup>
+
<sup>''!!! Work in progress !!!''</sup>
   
Not all PICO-8 hardware has a keyboard, but when it does, there are many keyboard shortcuts that one can use.
+
Not all PICO-8 hardware has a keyboard, but when it does, there are many keyboard shortcuts that one can use. Known shortcuts are listed here.
   
Note that the list below primarily shows the shortcuts for a QWERTY keyboard layout on a Windows build of PICO-8. Regional and platform variations do exist, however. Where known to be different, the Linux and MacOS alternatives are listed here.
+
----
   
'''Readers with knowledge of other platforms are encouraged to fill in the blanks if they know of keys that differ from the Windows layout. If you do, please follow the existing format, thanks!'''
+
:'''Important:''' the lists below all start with the shortcuts for a '''QWERTY''' keyboard layout on a '''Windows''' build of PICO-8. Key bindings for other keyboard layouts or platform builds are only listed if they are known to be ''different'' from the Windows Build.
  +
  +
:If your key isn't listed, or doesn't work right, try to use the Windows-style shortcut the way you would usually expect one to be done in your own OS. For instance, if you know Undo is Ctrl-Z on Windows, you'd want to try Cmd-Z on MacOS.
  +
  +
:Also, if you are on a different regional layout, such as AZERTY or QWERTZ, try using the key that would be in the same ''physical'' position as the QWERTY key. And remember, there is a [[Keyconfig|<code>keyconfig</code>]] command you can use to change in-game button assignments.
  +
  +
:'''Readers with knowledge of other platforms are encouraged to fill in the blanks if they know of keys that differ from the Windows layout.''' Don't worry too much about following the tricky formatting in these tables, unless you want to. Feel free to just enter whatever helpful notes you have, even if they aren't put into the tables. Someone else can do the formatting later if needed. Thanks!
  +
  +
----
   
 
<!-- handy chars: ⌘Cmd ⇧Shift ⌥Opt ⌃↩⌤⌫⌦⌧⇥⇤␣⎋⇪⏏⇞⇟↖↘←→↑↓ -->
 
<!-- handy chars: ⌘Cmd ⇧Shift ⌥Opt ⌃↩⌤⌫⌦⌧⇥⇤␣⎋⇪⏏⇞⇟↖↘←→↑↓ -->
Line 18: Line 18:
 
|<u>Q</u>uit
 
|<u>Q</u>uit
 
|<kbd>Alt</kbd>+<kbd>F4</kbd>
 
|<kbd>Alt</kbd>+<kbd>F4</kbd>
|
+
|<kbd>Ctrl</kbd>+<kbd>Q</kbd>
 
|<kbd>⌘Cmd</kbd>+<kbd>Q</kbd>
 
|<kbd>⌘Cmd</kbd>+<kbd>Q</kbd>
 
|-
 
|-
 
|<u>R</u>eload/<u>R</u>un/<u>R</u>estart
 
|<u>R</u>eload/<u>R</u>un/<u>R</u>estart
 
|<kbd>Ctrl</kbd>+<kbd>R</kbd>
 
|<kbd>Ctrl</kbd>+<kbd>R</kbd>
|
+
|<kbd>Ctrl</kbd>+<kbd>R</kbd>
 
|
 
|
 
|-
 
|-
 
|Quick-<u>S</u>ave
 
|Quick-<u>S</u>ave
 
|<kbd>Ctrl</kbd>+<kbd>S</kbd>
 
|<kbd>Ctrl</kbd>+<kbd>S</kbd>
|
+
|<kbd>Ctrl</kbd>+<kbd>S</kbd>
 
|
 
|
 
|-
 
|-
 
|<u>M</u>ute/un<u>m</u>ute
 
|<u>M</u>ute/un<u>m</u>ute
 
|<kbd>Ctrl</kbd>+<kbd>M</kbd>
 
|<kbd>Ctrl</kbd>+<kbd>M</kbd>
|
+
|<kbd>Ctrl</kbd>+<kbd>M</kbd>
 
|
 
|
 
|-
 
|-
 
|Editor toggle
 
|Editor toggle
 
|<kbd>Esc</kbd>
 
|<kbd>Esc</kbd>
|
+
|<kbd>Esc</kbd>
 
|
 
|
 
|-
 
|-
 
|Full screen toggle
 
|Full screen toggle
 
|<kbd>Alt</kbd>+<kbd>Enter</kbd>
 
|<kbd>Alt</kbd>+<kbd>Enter</kbd>
|
+
|<kbd>Alt</kbd>+<kbd>Enter</kbd>
 
|<kbd>⌘Cmd</kbd>+<kbd>F</kbd>
 
|<kbd>⌘Cmd</kbd>+<kbd>F</kbd>
 
|-
 
|-
Line 78: Line 78:
 
|Previous editor
 
|Previous editor
 
|<kbd>Alt</kbd>+<kbd>←</kbd>
 
|<kbd>Alt</kbd>+<kbd>←</kbd>
|
+
|<kbd>Alt</kbd>+<kbd>←</kbd>
 
|
 
|
 
|-
 
|-
 
|Next editor
 
|Next editor
 
|<kbd>Alt</kbd>+<kbd>→</kbd>
 
|<kbd>Alt</kbd>+<kbd>→</kbd>
|
+
|<kbd>Alt</kbd>+<kbd>→</kbd>
 
|
 
|
 
|}
 
|}
Line 90: Line 90:
   
 
{| class="article-table" style="width: 100%;"
 
{| class="article-table" style="width: 100%;"
!scope="col" style="width: 34%;"|Function
+
! scope="col" style="width: 34%;" |Function
!scope="col" style="width: 22%;"|Windows
+
! scope="col" style="width: 22%;" |Windows
!scope="col" style="width: 22%;"|Linux
+
! scope="col" style="width: 22%;" |Linux
!scope="col" style="width: 22%;"|MacOS
+
! scope="col" style="width: 22%;" |MacOS
 
|-
 
|-
 
|<u>P</u>ause menu
 
|<u>P</u>ause menu
 
|<kbd>P</kbd> / <kbd>Enter</kbd>
 
|<kbd>P</kbd> / <kbd>Enter</kbd>
  +
|
  +
|
  +
|-
  +
|<u>P</u>erformance Monitor
  +
|<kbd>Ctrl</kbd>+<kbd>P</kbd>
 
|
 
|
 
|
 
|
Line 102: Line 107:
   
 
See [[Btn|<code>btn()</code>]] for details on default controller/keyboard mappings, and [[Keyconfig|<code>keyconfig</code>]] for info on changing those mappings.
 
See [[Btn|<code>btn()</code>]] for details on default controller/keyboard mappings, and [[Keyconfig|<code>keyconfig</code>]] for info on changing those mappings.
 
   
 
==Command Line==
 
==Command Line==
   
 
{| class="article-table" style="width: 100%;"
 
{| class="article-table" style="width: 100%;"
!scope="col" style="width: 34%;"|Function
+
! scope="col" style="width: 34%;" |Function
!scope="col" style="width: 22%;"|Windows
+
! scope="col" style="width: 22%;" |Windows
!scope="col" style="width: 22%;"|Linux
+
! scope="col" style="width: 22%;" |Linux
!scope="col" style="width: 22%;"|MacOS
+
! scope="col" style="width: 22%;" |MacOS
 
|-
 
|-
 
|<u>C</u>opy (entire line)
 
|<u>C</u>opy (entire line)
Line 154: Line 158:
   
 
==Text Editor==
 
==Text Editor==
 
   
 
{| class="article-table" style="width: 100%;"
 
{| class="article-table" style="width: 100%;"
!scope="col" style="width: 34%;"|Function
+
! scope="col" style="width: 34%;" |Function
!scope="col" style="width: 22%;"|Windows
+
! scope="col" style="width: 22%;" |Windows
!scope="col" style="width: 22%;"|Linux
+
! scope="col" style="width: 22%;" |Linux
!scope="col" style="width: 22%;"|MacOS
+
! scope="col" style="width: 22%;" |MacOS
 
|-
 
|-
 
|Cut
 
|Cut
Line 303: Line 306:
 
|-
 
|-
 
|Pan tool
 
|Pan tool
|<kbd>Space</kbd>+<kbd>🖰&#8239;Click+Drag</kbd>
+
|<kbd>Space</kbd>+<kbd>🖰&#8239;LClick+Drag</kbd>
 
|
 
|
 
|
 
|
Line 348: Line 351:
 
|-
 
|-
 
|Replace color
 
|Replace color
|<kbd>Ctrl</kbd>+<kbd>🖰&#8239;Click</kbd>
+
|<kbd>Ctrl</kbd>+<kbd>🖰&#8239;LClick</kbd>
 
|
 
|
 
|
 
|
Line 396: Line 399:
 
|-
 
|-
 
|Replace color
 
|Replace color
|<kbd>Ctrl</kbd>+<kbd>🖰&#8239;Click</kbd>
+
|<kbd>Ctrl</kbd>+<kbd>🖰&#8239;LClick</kbd>
 
|
 
|
 
|
 
|
 
|-
 
|-
 
|Color Picker
 
|Color Picker
|<kbd>Right Click</kbd>
+
|<kbd>🖰&#8239;RClick</kbd>
 
|
 
|
 
|
 
|
Line 414: Line 417:
 
|-
 
|-
 
|Stamp with color 0 transparent
 
|Stamp with color 0 transparent
|<kbd>LCtrl</kbd>+<kbd>🖰&#8239;Click</kbd>
+
|<kbd>LCtrl</kbd>+<kbd>🖰&#8239;LClick</kbd>
 
|
 
|
 
|
 
|
Line 444: Line 447:
 
|-
 
|-
 
|Select multiple sprites<br />(for flip, shift, copy, rotate)
 
|Select multiple sprites<br />(for flip, shift, copy, rotate)
|<kbd>Shift</kbd>+<kbd>🖰&#8239;Click+Drag</kbd>
+
|<kbd>Shift</kbd>+<kbd>🖰&#8239;LClick+Drag</kbd>
 
|
 
|
 
|
 
|
Line 450: Line 453:
   
 
==Map editor==
 
==Map editor==
(TODO)
+
{| class="article-table"
+
!Function
  +
!MacOS
  +
|-
  +
|Move a sprite to another sprite and changes all sprites on map equal to the sprite number to the new sprite number
  +
|<kbd>Ctrl</kbd>+<kbd>X</kbd>
  +
|}
 
==SFX editor==
 
==SFX editor==
(TODO)
+
(TODO, incomplete)
  +
{| class="article-table" style="width: 100%;"
  +
! scope="col" style="width: 34%;" |Function
  +
! scope="col" style="width: 22%;" |Windows
  +
! scope="col" style="width: 22%;" |Linux
  +
! scope="col" style="width: 22%;" |MacOS
  +
|-
  +
|Swap pitch/note views
  +
|
  +
|<kbd>Tab</kbd>
  +
|
  +
|-
  +
|Increase Speed
  +
|
  +
|<kbd>Period</kbd>
  +
|
  +
|-
  +
|Decrease Speed
  +
|
  +
|<kbd>Comma</kbd>
  +
|
  +
|-
  +
|Increase Speed by 4
  +
|
  +
|<kbd>Shift</kbd> + <kbd>Period</kbd>
  +
|
  +
|-
  +
|Decrease Speed by 4
  +
|
  +
|<kbd>Shift</kbd> + <kbd>Comma</kbd>
  +
|
  +
|-
  +
|Switch to Next Sound Effect
  +
|
  +
|<kbd>=</kbd>
  +
|
  +
|-
  +
|Switch to Previous Sound Effect
  +
|
  +
|<kbd>-</kbd>
  +
|
  +
|}
   
 
==Music editor==
 
==Music editor==
 
(TODO)
 
(TODO)
  +
[[Category:Research]]

Latest revision as of 19:35, June 15, 2020

!!! Work in progress !!!

Not all PICO-8 hardware has a keyboard, but when it does, there are many keyboard shortcuts that one can use. Known shortcuts are listed here.


Important: the lists below all start with the shortcuts for a QWERTY keyboard layout on a Windows build of PICO-8. Key bindings for other keyboard layouts or platform builds are only listed if they are known to be different from the Windows Build.
If your key isn't listed, or doesn't work right, try to use the Windows-style shortcut the way you would usually expect one to be done in your own OS. For instance, if you know Undo is Ctrl-Z on Windows, you'd want to try Cmd-Z on MacOS.
Also, if you are on a different regional layout, such as AZERTY or QWERTZ, try using the key that would be in the same physical position as the QWERTY key. And remember, there is a keyconfig command you can use to change in-game button assignments.
Readers with knowledge of other platforms are encouraged to fill in the blanks if they know of keys that differ from the Windows layout. Don't worry too much about following the tricky formatting in these tables, unless you want to. Feel free to just enter whatever helpful notes you have, even if they aren't put into the tables. Someone else can do the formatting later if needed. Thanks!

Global useEdit

Function Windows Linux MacOS
Quit Alt+F4 Ctrl+Q ⌘Cmd+Q
Reload/Run/Restart Ctrl+R Ctrl+R
Quick-Save Ctrl+S Ctrl+S
Mute/unmute Ctrl+M Ctrl+M
Editor toggle Esc Esc
Full screen toggle Alt+Enter Alt+Enter ⌘Cmd+F
Save a screenshot to desktop F1 / F6
Ctrl+6
Capture cartridge label image F2 / F7
Ctrl+7
Start recording a video F3 / F8
Ctrl+8
Save GIF video to desktop F4 / F9
Ctrl+9
Toggle keyboard cursor F5 / F10
Ctrl+0
Toggle FPS display Ctrl+1
Previous editor Alt+ Alt+
Next editor Alt+ Alt+

While runningEdit

Function Windows Linux MacOS
Pause menu P / Enter
Performance Monitor Ctrl+P

See btn() for details on default controller/keyboard mappings, and keyconfig for info on changing those mappings.

Command LineEdit

Function Windows Linux MacOS
Copy (entire line) Ctrl+C
Paste Ctrl+V
History  ↑  /  ↓ 
End-of-line End
Ctrl+E
Start-of-line Home
Ctrl+A
Kill to end-of-line Ctrl+K
Kill to start-of-line Ctrl+U
Clear screen Ctrl+L

Text EditorEdit

Function Windows Linux MacOS
Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Select All Ctrl+A
Keyboard glyph mode toggle Ctrl+K
Insert/overwrite toggle Ins
Start of line Home
Ctrl+W
End of line End
Ctrl+E
Start of document Ctrl+Home
Ctrl+ ↑ 
End of document Ctrl+End
Ctrl+ ↓ 
Previous word Ctrl+
Next word Ctrl+
Previous function Alt+ ↑ 
Next function Alt+ ↓ 
Indent selection ⇥Tab
Un-indent selection Shift+⇥Tab
Undo Ctrl+Z
Redo Ctrl+Y
Find text in current tab Ctrl+F
Find text aGain Ctrl+G
Repeat search across tabs (Hyper search) Ctrl+H
Go to Line number Ctrl+I
Ctrl+L
Duplicate current line Ctrl+D
Toggle comment Block Ctrl+B
Switch to next tab Ctrl+⇥Tab
Switch to previous tab Ctrl+Shift+⇥Tab

Sprite editorEdit

All tools:

Function Windows Linux MacOS
Pan tool Space+🖰 LClick+Drag
Copy Ctrl+C
Paste (at current sprite location) Ctrl+V
Undo/Redo (single-step) Ctrl+Z
Previous sprite Q
Next sprite W
Previous color 1
Next color 2
Toggle full view ⇥Tab
Replace color Ctrl+🖰 LClick
Shift by one pixel / /  ↑  /  ↓ 
Flip Horizontal F
H
Flip Vertical V
Rotate 90° CCW R
Zoom < / >
🖰 Wheel

Draw tool:

Function Windows Linux MacOS
Copy Ctrl+C
Paste (at upper left) Ctrl+V
Replace color Ctrl+🖰 LClick
Color Picker 🖰 RClick

Stamp tool:

Function Windows Linux MacOS
Stamp with color 0 transparent LCtrl+🖰 LClick

Select tool:

Function Windows Linux MacOS
Select none Enter

Fill tool:

(n/a?)

Lower sprite sheet area:

Function Windows Linux MacOS
Select multiple sprites
(for flip, shift, copy, rotate)
Shift+🖰 LClick+Drag

Map editorEdit

Function MacOS
Move a sprite to another sprite and changes all sprites on map equal to the sprite number to the new sprite number Ctrl+X

SFX editorEdit

(TODO, incomplete)

Function Windows Linux MacOS
Swap pitch/note views Tab
Increase Speed Period
Decrease Speed Comma
Increase Speed by 4 Shift + Period
Decrease Speed by 4 Shift + Comma
Switch to Next Sound Effect =
Switch to Previous Sound Effect -

Music editorEdit

(TODO)

Community content is available under CC-BY-SA unless otherwise noted.