TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Android auto-rotation

Open AmanitaVerna opened this issue 4 years ago • 6 comments

The Android version of TIC-80 auto-rotates between portrait and landscape despite auto-rotate being turned off, which seems like a bug, as it is doing the opposite of what the user wants.

AmanitaVerna avatar Dec 06 '20 15:12 AmanitaVerna

I also have the problem . It makes it more hard to programe game. And there is no virtual keyboard as before. Now it changed to system keyboard. but This key board can't always float on the top. Maybe I have to use physics usb keyboard to programe. I want to use the virtual keyboard before

2439905184 avatar Jan 18 '21 14:01 2439905184

We are going to restore the virtual keyboard and give a user ability to select keyboard type.

nesbox avatar Jan 18 '21 16:01 nesbox

Keyboard issues fixed with #660

nesbox avatar Jun 29 '21 14:06 nesbox

It seems it's a bug on the SDL2 lib side, because we do nothing with the screen rotation on our side. Also, I tried to update to SDL 2.0.14 but without result. Let's check the issue later with new sdl updates.

nesbox avatar Jul 03 '21 15:07 nesbox

The virtual keyboard has been restored, but I don't know how to check if auto-rotation is locked. next version...

nesbox avatar Apr 05 '22 09:04 nesbox

As of version 1.0.2164 (b09c50c), I'm still getting unwanted auto-rotation. (But the keyboard switching is working pretty well.)

Some Internet sources seem to say that this would be set not in the SDL2 lib but in your Android manifest (AndroidManifest.xml), with the attribute android:screenOrientation, like android:screenOrientation="unspecified".

Ezra avatar Jun 20 '22 13:06 Ezra