Add configurable startup screen and improve gamepad menu access#2952
Open
imsys wants to merge 8 commits into
Open
Add configurable startup screen and improve gamepad menu access#2952imsys wants to merge 8 commits into
imsys wants to merge 8 commits into
Conversation
+ adds Cmake option: DEFAULT_STARTUP_SCREEN = CONSOLE or MENU + adds the option to the options (settings) menu + saves to options.json + sets the default startup to Menu on the systems: NSwitch, 3DS, Android
When TIC-80 is configured to start directly into the MENU (and no cartridge is yet loaded), the offset is now set to 4 to skip the "CLOSE GAME" menu item. If it starts in CONSOLE mode (or for non-editor builds), it retains the previous default offset of 3.
If startupScreen is set to Menu, it switches to the Menu after loading the Demo Cart. Otherwise, if the user tried to open the code after the startup, it would be empty.
- Better testing if the game has already run: this includes running the demo code without a cart name. - When on a Submenu, ESC will always return to the previous parent menu. - When the game is not loaded yet, we hide the Resume, Reset and Close game from the menu.
I also add myself to the Contributors list
Contributor
Author
|
This decoupling of the Select button from the Esc should solve most of the dispute mentioned in #2937. |
This was referenced Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Some devices do not have convenient keyboard input. When using only a gamepad, starting directly in the Console can make navigation less intuitive and requires additional steps to reach the Menu.
Proposal
This PR introduces a configurable startup screen and improves gamepad navigation.
Startup screen
Allow the default startup screen to be configured: (between Console and Menu)
Gamepad menu access
Previously, the gamepad Select button was mapped to the same action as the Esc key, which opened the Console.
This PR decouples the Select button from the Esc key behavior and makes it open the Menu directly instead.
Minor changes