Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All unmapped gamepad buttons are mapped to Esc? #1468

Closed
JunoNgx opened this issue Jul 1, 2021 · 3 comments
Closed

All unmapped gamepad buttons are mapped to Esc? #1468

JunoNgx opened this issue Jul 1, 2021 · 3 comments

Comments

@JunoNgx
Copy link

JunoNgx commented Jul 1, 2021

While shopping for a engine/platform for my next game, I tried playing a handful of TIC-80 games and had a terrible experience with my Xbox One controller on the web.

There are 12 keys on the controller assigned to Esc:

  • 4 D-pads key
  • Left and right bumpers
  • Left and right triggers
  • Left and right thumbstick
  • Change view and Options/Select and Start

While I'm not certain if this behaviour is intentional, it is so easy to accidentally end up stuck in the console screen, in which is then impossible to return to the game without putting down the gamepad and typing "resume" into the console (pressing Esc twice will land you in the code menu). The worst part is while using a gamepad, getting into this state is pretty much guaranteed because there are so many ways to end up there (e.g. Using D-Pad as actual D-Pad, or accidentally pressing the thumbstick while playing). I think this is quite an unacceptable user experience.

Is there anything I can do, at least as an individual developer, to avoid this in the release of my game?

@nesbox
Copy link
Owner

nesbox commented Jul 1, 2021

We changed this behavior somewhere here #1220, please check the latest dev build https://nightly.link/nesbox/TIC-80/workflows/build/master. Also, we are going to add gamepad buttons mapping setup to the game menu.

@borbware
Copy link
Contributor

borbware commented Jul 2, 2021

also, in builds after this commit (builds 465 onwards), you can give the alone=1 parameter while exporting to remove the "close game" option from pause menu!

@JunoNgx
Copy link
Author

JunoNgx commented Jul 3, 2021

Thanks for the clarification. Playing the existing uploaded games will be a tad annoying, but good to know that this has been handled going forward.

@JunoNgx JunoNgx closed this as completed Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants