igiInputText

A one-line text box. Takes label (The text beside the box), text (The current text). Returns: The new text.

IGI

Parameters & Returns

Parameters

label String
text String

Returns

String

Quick Summary

A one-line text box. Takes label (The text beside the box), text (The current text). Returns: The new text.

Technical Exegesis...

A one-line text box. It grows to take any length. While it has the keyboard, igiWantsKeyboard() is 1 - ignore game keys then. On the web, Ctrl+V pastes from the clipboard.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Returns: The new text.

Example

Example.bam
playerName = igiInputText("Name", playerName)