Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Controls and Shortcuts

akesi lili provides a straightforward control scheme inspired by classic handheld gaming devices. The following controls are available for use in your games:

Buttons

  • A: Corresponds to the 'A' key on the keyboard. (Identifier: 0)
  • B: Corresponds to the 'S' key on the keyboard. (Identifier: 1)
  • Start: Corresponds to the 'Enter' key on the keyboard. (Identifier: 2)
  • Select: Corresponds to the 'Space' key on the keyboard. (Identifier: 3)
  • Left: Corresponds to the 'Left Arrow' key on the keyboard. (Identifier: 4)
  • Right: Corresponds to the 'Right Arrow' key on the keyboard. (Identifier: 5)
  • Up: Corresponds to the 'Up Arrow' key on the keyboard. (Identifier: 6)
  • Down: Corresponds to the 'Down Arrow' key on the keyboard. (Identifier: 7)
  • Mouse: Corresponds to the left or right mouse button. (Identifier: 8)

Keyboard Shortcuts

  • Ctrl + R: Restarts the game, allowing you to quickly reset and test changes.
  • Ctrl + B: Pauses the game, useful for debugging or taking a break.
  • Escape: Toggles between the game view and the editor, providing quick access to your code.
  • Ctrl + S: Saves the current state of the game, ensuring your progress is not lost (editor only).
  • Ctrl + C: Copies a selected sprite to the clipboard for easy duplication (editor only).
  • Ctrl + V: Pastes a sprite from the clipboard onto the sprite selection, streamlining asset management (editor only).
  • Ctrl + Z: Undoes the last action, allowing you to revert mistakes quickly (editor only).
  • Ctrl + Y: Redoes the last undone action, providing flexibility in your workflow (editor only).
  • Ctrl + E: Closes the game and returns to the command line, useful for switching tasks (not available if the editor is open).
  • Ctrl + A: Selects all text in the code editor, making it easy to copy or modify large sections of code.