pinball icon indicating copy to clipboard operation
pinball copied to clipboard

Rocket not accessible

Open Wilhelmsson177 opened this issue 3 years ago • 1 comments

Screenshot_20220514-095920 It is not possible to tap the rocket, if installed with as app with chrome on Google Pixel 6. Everything is Google that should work. If it is not installed and running in browser, I am able to tap at the very end of the screen.

Wilhelmsson177 avatar May 14 '22 08:05 Wilhelmsson177

Thanks @Wilhelmsson177 for opening an issue.

Just for reference (for myself and anyone that wishes to contribute), this seems to happen whenever the following is true:

final zoom = size.y / 160; 
final isTooSmall = (size.x / zoom) < BoardDimensions.bounds.width;

In order to resolve one needs to adjust the logic being defined to manipulate the Camera. Currently, the game has absolute positioning and the camera zooms in and out to respond to any changes in the viewport. However, in some mobile devices, the current focusing logic fails to zoom out sufficiently to make the entire board visible.

alestiago avatar May 15 '22 19:05 alestiago