Hi
This code works fine on PC and don't on iOS
id = createText("bla bla bla")
(... somewhere in a go sub block ...)
setTextPosition(id,getVirtualWidth()/2,y)
setTextAlignment(id,1)
setTextSize(id,40)
setTextMaxWidth(id,getVirtualWidth())
On PC, the text wrap.
On iOS, the text is on the same line.
So, I changed my code after reading this page to
id = createText("bla bla bla")
(... somewhere in a go sub block ...)
ch$ = getTextString(id)
setTextString(id,"")
setTextPosition(id,getVirtualWidth()/2,y)
setTextAlignment(id,1)
setTextSize(id,40)
setTextMaxWidth(id,getVirtualWidth())
setTextString(id,ch$)
On PC, all works fine.
On iOS, I have no text on screen.
Do you have any idea ?
--
Patrick P.
http://www.gamolf.fr