• 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 [SOLVED]Touch Screen

K

Kintoki

Guest
I made an android game and want to try ıt . I try ıt on many phones some of them works fine . But others doesnt make sense to me cause of the changes of the locations. They are not the way written down ın the code . They are on another locations on the screen . It seems to me something wrong about my way . In the global tap event
virtual_key_add(288,256,1024,1024,vk_space);


global.right=virtual_key_add(16,480,240,128,vk_f11);

global.left=virtual_key_add(16,608,240,128,vk_f12);

virtual_key_add(32,192,64,100,vk_f1);
ı wrote down those are and they are workıng fıne and not workıng ın the locations on different phones. Thanks for everything anyway.
 

rwkay

GameMaker Staff
GameMaker Dev.
ensure that you have scaled the gui layer to what you are expecting the virtual keys resolution to be.

Russell
 
Top