• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Android When I use multiple viewport, It cause touch area issue

C

commaway

Guest
I use gamemaker studio 2.
I have an issue about android device.

The my room size is set at a ratio of 576: 1024 (9:16).
When I set up Android graphics with 'keep aspect ratio', the cell phone like Galaxy s8 will have black letterbox on top and bottom. Because they have a ratio 9: 18+.

At this time, when two viewport is set as shown below, an error occurs in the touch area.
viewport_error0.png

If you do so, the touch area will be pushed up as much as the upper letter box part as shown below.
viewport_error1.png

I didn't solve this problem. Please check this issue.
Ps. The GMS1 doesn't have this issue in android, only GMS2 have this issue.
 
Top