Description

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.

Example:

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

Version 1.0.0. Published October 7, 2015

Created with GameMaker: Studio v1.4.1657

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Yunwol y 20 November 2016

What version of Android do you support?

My android version is 6.0.1.
showInputText() does not work.


Gravatar

Cameron H 02 November 2016

Needs better instructions on how to use.

I really wanted to like this product. However, it's a very strange download. The extension that comes with it doesn't come with anything but a showInputText() function. No object, sprites, rooms for demo, etc. Furthermore, It doesn't come with any guidance with how to use the function at all!

After searching for information on how to use the extension the only other help I could find was on the product page in the details tab where the creator says to put a block of code in a social async event. I tried just that but got an error. I fail to see how this can be a clear module to use for any beginner or intermediate user.
As soon as I am able to get this module working I will be able to give the product an accurate review of its quality.

Logo

Mattia Fortunati (Publisher) 09 December 2015

Hi Cameron H,
thanks for the interest in my extension.

This extension is not meant for beginner users, but meant for advanced users which know how to use the Game Maker Language, so it has nothing visual like objects, sprites or rooms.
It comes with just a function call, and a code example to explain which parameters to pass to the call, and which values are passed back to the social async callback, because it's all the information you need to use the extension.

The extension does not come with an explanation of where and how to use the GML code, and what are and how to use async events because it's standard, regular, Game Maker async events usage.

If you want to know more about Game Maker's async events, and how to use them, please refer to the Game Maker documentation itself:
http://goo.gl/zWTRjY
and
http://goo.gl/dIRgQo

Best regards,
Mattia


Gravatar

omid g 12 October 2015

Great extention ....

well done.

Package contents

Total size 3.46 KB

What is the issue?

Back to Top