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 -
SECOND CODE -
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.
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.