is there a way to wrap text in a text Object?
BACKGROUND
I’m doing a Latin app. Simplest way to describe it is that it will generate 4 Latin verbs and offer 1 true translation in English.
practical example:
1/ code generates 4 verbs that might say, for example, salto (I dance), saltavit (he danced), saltabimus (we will dance) and saltabant (they were dancing) - all from the Latin verb saltare (to dance).
2/ the code also generates one true translation of these words, say for the ‘they were dancing’ (saltabant) formulation.
3/ got the code working fine but now for the display.
i would want the 4 latin verbs to appear on screen, maybe surrounding the English translation at centerX, centerY. then the game is to tap on the Latin verb that corresponds with the correct translation.
the code can also do the reverse, ie present 4 strings in English and one matching Latin verb. looking to do it both ways eventually.
THE PROBLEM
big problem is that this is all happening in Lua strings, and these strings can be of considerablly different lengths. Latin words are pretty concise but the translation of, say, saltat is ‘he dances/ he is dancing’ and strictly speaking should be ‘he/she/it…etc.’.
I want this to look neat…if that is possible…
way too many words to create art for each and every perm. starting with about 26 verbs, 6 persons and 4 tenses = 624 separate items, and expect that to grow pretty quickly.
i would also want the textObj to sit in a nice box/container…