Android Native Text Input

Mattia Fortunati

You must be logged in to obtain assets


inputTextEx extension by Mattia Fortunati

this extension will open a popup for requesting the user to input some text and then call a social async event into Game Maker passing the input text can be used for getting usernames, promo codes, numbers etc etc

Usage: simply call

showInputText(String strTit,String strYes,String strNo) 

from game maker for opening the popup.


showInputText("Title Text", "OK", "Cancel")

and, in a social async event put some code like this:

var type = string(async_load[? "type"])
var data = string(async_load[? "data"])

//check for INPUTTEXT type of event
if type == "INPUTTEXT"
   //Here you should receive the string containing the text written by the user
   //which is stored inside the variable called "data"
   var StringWrittenByUser = data
   //now use it as you please

"type" passed will be "INPUTTEXT" "data" passed will be the text input by the user

NOTE: the keyboard won't never go fullscreen, and the function both works for PORTRAIT and LANDSCAPE orientations

More info

End User Licence Agreement (EULA).

Required Modules

Android Export

Age Rating: 4+


GMS1 - Version 1.0.0. Published October 7, 2015

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait