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

Graphics and input is off #10

Closed
NanzeRT opened this issue Apr 29, 2022 · 5 comments
Closed

Graphics and input is off #10

NanzeRT opened this issue Apr 29, 2022 · 5 comments

Comments

@NanzeRT
Copy link

NanzeRT commented Apr 29, 2022

Screenshot_20220429-105241_2048 Open Fun Game.jpg

Field (blue) recives input in offseted place (red). Same thing for all input.

Android 11
Model: Galaxy Tab A
Game ver. 1.12.0
Screen diagonal: 10"

@yvolk
Copy link
Member

yvolk commented May 9, 2022

Hi @NanzeRT
Some time ago I investigated similar problem in one of devices. After a lot of time and tests it appeared that rotation to 180 degrees solved the problem. We couldn't believe this...
So please try all 4 possible orientations (4, not 2 only!) and post here, if there are any differences.

@NanzeRT
Copy link
Author

NanzeRT commented May 9, 2022

Hi @yvolk
It work the same in all 4 orientations. It seems like input scales the same amount with focus in top-left corner.

@NanzeRT
Copy link
Author

NanzeRT commented May 9, 2022

It scales in about 75-80%

@yvolk
Copy link
Member

yvolk commented May 10, 2022

Our game uses "KorGE" library/game engine, and I would say that this case is probably caused by some incompatibility (bug) of the library with your device.
I have 10 inch tablet, just tried with it: no problem. It's Android 7 though, so I tried Android 11 emulator - no problems also...

I cannot reproduce the problem, so I cannot fix it (or raise a bug to fix KorGE library). You are welcome to figure out the bug yourself as the source code is available.

@yvolk
Copy link
Member

yvolk commented Aug 6, 2023

@NanzeRT We didn't find a cause of the problem, but recently I upgraded the 2048 Game to the latest version of the graphics library (KorGe) + newer Kotlin version. Please check 2048 game v.1.13.1 here: #1

@yvolk yvolk closed this as completed Aug 6, 2023
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

2 participants