Text field/input arrangement trouble

Hello,

I have only recently started with corona sdk and Lua, and to be honest I don’t really know its intricate workings as of yet. I am looking to make a game whereby I can input text using a keyboard but have everything previously typed and entered displaying above the text input field and accessible to read by scrolling back up. Equally I need to know what function I would require to create if/else type strings to respond to what’s been typed. It seems as though it should be a relatively easy concept but I haven’t been able to find much help on the subject. Thanks guys :slight_smile: [import]uid: 185634 topic_id: 32259 reply_id: 332259[/import]

For text input, use native.newTextField().
For a scrollable area, use widget.newScrollView()
Inside that scrollView you will use display.newText() to write your text out and will need a line counter so you an draw the next line below the previous one.

All of these should be pretty well documented in the Documentation above.

Rob
[import]uid: 19626 topic_id: 32259 reply_id: 128409[/import]

For text input, use native.newTextField().
For a scrollable area, use widget.newScrollView()
Inside that scrollView you will use display.newText() to write your text out and will need a line counter so you an draw the next line below the previous one.

All of these should be pretty well documented in the Documentation above.

Rob
[import]uid: 19626 topic_id: 32259 reply_id: 128409[/import]