TIC‐80 Menu - nesbox/TIC-80 GitHub Wiki

menu or press Escape while in-game.

Prior to 1.2, the menu could be disabled by toggling DEV MODE in the menu. As of version 1.2, this mode is context-dependent: a game started from Ctrl+R (Cmd+R on Mac) or run exits the game and returns to the editor/console, and when launched directly (or on the web), Escape pauses the game and opens the menu.

Description

TIC80_menu_demo

The TIC-80 menu is composed of the following options:

  • GAME MENU is specific to the running game, it appears if the running game uses the MENU callback with menu tag in the metadata.
  • RESUME GAME
  • RESET GAME
  • CLOSE GAME to switch to console. Note that instead of using CLOSE GAME you can switch from game to Code Editor using ESC+F1 hotkey.
  • OPTIONS offers several configurations choices for TIC-80, detailed below.
  • QUIT TIC-80

OPTIONS

  • CRT MONITOR turns on the CRT (Cathode-Ray Tube) filter for a retro look. Note: The CRT filter does not show on the TIC-80 screen capture GIFs, or when SOFTWARE_RENDERING option of the config file is set to true.
  • DEV MODE (no longer present as of 1.2) disables the TIC-80 menu so that you can switch from game to editor with escape. To access the menu while dev mode is on, for instance to unset the dev mode, use the menu console command.
  • VSYNC aligns your game's graphics with your screen's refresh rate, preventing tearing and flickering. With Vsync on, your game waits for the screen to start refreshing, then displays a complete frame, ensuring smoother visuals. Default: ON
  • FULLSCREEN enables full screen. Default: OFF
  • INTEGER SCALE - If set to ON, the TIC-80 screen size can only be a multiple of 240×136 pixels. Set it OFF for small screens like playing on smartphones to use the full screen. Default: ON
  • VOLUME of the TIC-80 sounds. From 0 to 15. Default: 15
  • AUTOSAVE - If set to ON, will automatically save carts loaded through surf. If set to OFF, carts must be manually saved with the save command. Default: OFF

EDITOR OPTIONS

These options apply on the code editor.

  • TAB SIZE - Size of the tab displayed.
  • TAB MODE
    • TABS - Hitting Tab writes a Tab.
    • SPACES - Hitting Tab writes spaces. The number of spaces depends on the TAB SIZE option. Already-existing tabs will stay.
    • AUTO - Uses TABS except for indentation sensitive languages such as Python and Moonscript. (Default)
  • KEYBIND MODE brings some of the most commonly used key bindings from Emacs with the EMACS mode or VI with the VI mode. Default: STANDARD

SETUP GAMEPAD

Set up gamepad mapping to use with the btn API. Up to 4 gamepads in total.

  • SAVE MAPPING to keep it after closing TIC-80.
  • CLEAR MAPPING
  • RESET TO DEFAULTS