You can create a text-input very easily in AGK. The Editbox is very flexible (size, position, colours, borders, font, cursor size and blink rate etc)
The input box can be transparent, so you don't actually see a box.
You can set the focus on the text box so that typing is always in the right place.
You can write a simple check for the Return key, get the text box contents, and clear it
You can get the text box contents at any time and so react even before the Return key is pressed.
The editbox handles detection of input, deleting, and repositioning of cursor.
I have a very simple Editbox in my
Coding challenge entry here...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt