Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Onslaught

An audio-only Asteroids-like shooter · By Lights Out Games

keyboard issues in menus on Android

A topic by jackf723 created Oct 30, 2020 Views: 165 Replies: 4
Viewing posts 1 to 5

It looks as though the escape key doesn't work in menus, owing to the fact there is no way out of the options or learn sounds menu. With there being no exit option as well, the only option here seems to be to enable talkback and access quick-settings or notifications to get out of the game

Additionally, if you do not wait to disable Talkback until the please make sure your screen reader is disabled message finishes speaking, the game doesn't take it as a cue to initialize.

Developer

Thanks for the reports.

I can confirm the speech issue here, though I’m going to have to think through how to fix it. Unfortunately, turning off TalkBack stops the game’s TTS, but it doesn’t trigger any of the callbacks that let the game know that speech is done and it can continue. All I can think to do is add a 10-second timer that starts the game even if speech is active, or maybe delaying the screen reader message until after the game starts. Unfortunately, the initial focus on the Start button also stops speech, which would terminate the notice as well, so I can’t just queue it up and let things go. Let me take the weekend and think it through. I’m leaning toward the timer solution right now, though that would unfortunately add a delay for anyone who turns off their screen reader without being prompted.

I’ll also try to get a keyboard hooked up to my phone. In the meantime, do you have any way of simulating the Back button? Back should get you out of menus. TalkBack binds that to Ctrl-Alt-Backspace. I do agree that Escape should work too, and will investigate why it doesn’t.

Thanks again.

Developer

Actually, replied too soon. Hacky fix for the startup issue incoming. Should be released in 20 minutes or so. I’ll research the keyboard issue next week.

Push comes to shove, you could always do what DroidFlip did and have the user tap the screen to continue after disabling Talkback.

I'm about to update, let's see if the game starts this time.

Thanks!

Developer

OK, should be fixed in the next release, landing in a couple hours. Godot on Android sends an odd, non-standard scancode for Escape. Its keyboard support is kind of bad in general, actually. I figured out and added that scancode to the action triggered by Escape on other platforms, and in my brief testing (pausing/resuming a game, exiting menus) it did work. Hopefully it does for you too.

I also discovered that, with my PC keyboard connected to my phone, Windows plus Backspace triggered the back button, which does exit the menus. Ugh, pretty bad experience all around, and not sure who is at fault.

Thanks for the reports.