Converting Text Table values into a text string
Hello all!
I created a custom keyboard based on @tshirtbooth model. I'm trying to include a backspace button, and to do that I created a table that inputs individual letters in their own index.
I'm running into some issues of what to do next. I want to be able to convert each index in a column into a single text attribute.
For example:
Column: 1
Row:
1 a
2 i
3 m
4 e
From there, I need to take each letter in the column to change game.typing into text string "aime"
Any hints?
Kev
I created a custom keyboard based on @tshirtbooth model. I'm trying to include a backspace button, and to do that I created a table that inputs individual letters in their own index.
I'm running into some issues of what to do next. I want to be able to convert each index in a column into a single text attribute.
For example:
Column: 1
Row:
1 a
2 i
3 m
4 e
From there, I need to take each letter in the column to change game.typing into text string "aime"
Any hints?
Kev
Comments
Or you can automate the process by using a loop (see my demo attached) and use the loop counter as your row number:
Change attribute game.typing to game.typing..tableCellValue( game.Table , self.Loop Counter ,1)
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User