• 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 Virtual Keyboard no longer adding inputs to keyboard_string

Lite

Member
On Android the virtual keyboard inputs just stopped working suddenly. No changes to the text object were made, no systems updates happened, and GameMaker was not updated so I'm clueless as to what made it just no longer work.

I've tried two different ways now but neither is working though both were working fine before:
FIRST CODE -
if(keyboard_check_pressed(vk_anykey) and string_length(text) < strlen){
text = text + string(keyboard_string);
keyboard_string = "";
}

SECOND CODE -
if(keyboard_string != "" and string_width(text) < maxlen){
text = text + string(keyboard_string);
keyboard_string = "";
}else{
keyboard_string = "";
}


I've also tried completely clearing the cache and uninstalling the game on my Android phone but no luck. Any info on why the keyboard stopped working would be super appreciated! Thanks.
 
Top