Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

How can I create a text box on iOS/Android and handle the input in MonoGame?

$
0
0

@Fox9 wrote:

I want that people can create a new account in my MonoGame iOS and Android application. I need a text box for username, password and recovery e-mail address(if someone forgot his password).

-How can I create the text box? Should I make a white rectangle sprite(Texture2D) and a spriteFont to write the text(for example the username)? Or are there better ways to create the text box?

-How can I find out if someone tapped with his finger on the blank text box? Can I use Rectangle.Intersects(TappRectangle) or is it better to do this differently?

-How can I show the soft keyboard on iOS/Android after someone tapped on the text box so that they can write their username in the textbox?

-How can I get the characters they tapped on the soft keyboard?

-Is it possible to save/remember the text(login data) so that people don't need to write it always when they start my application? I want that the text boxes are already filled out with their login credentials when they start the application, then they would just need to tap on a login button to log in.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles