I made a game that requires the player to type their answer. The following code is for the desktop version. I'm making a mobile version of the game and am having trouble with it. How can I code this so that the player can type their answer through touch events and tapping?
var answer:int;
answer = int(answer_txt.text)
simply add an inputbox to allow your users when touch it, add their answer
also you can use addTextFormat to change your font,and fontSize ,...