Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Input boxes in AGK

Author
Message
damothegreat
User Banned
Posted: 18th Oct 2016 08:37
Hello

I have been through docs for AppGameKit and there doesn't seem to be any kind of Input Boxes, so can enter anything.

Useful if like to pop name down on a highscore table?

Is there anything like an input command or could it be a new challenge to indeed create one with the use of functions

DrawBox

Convert the GetRawLastKey() to Ascii and print it

Use of the BackSpace would delete one character before

Use of the Del would delete one character ahead

Use of the left / right cursor keys would move the input cursor

Enter would accept what characters that currently in the box

Set the result to a string (multiple of characters/numbers) or an integer (numbers only)

Like say - very useful if wanting to ask to enter a value or a name in a game

Damo


Using Tier 1 AppGameKit V2
Started coding with AMOS
Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 18th Oct 2016 09:01
CreateEditBox() or StartTextInput() is probably what you are after...
Using AppGameKit V2 Tier 1

Login to post a reply

Server time is: 2024-11-22 02:30:28
Your offset time is: 2024-11-22 02:30:28