Hello guys,
I am trying to color a text but seems setFillColor doesn’t work. Below you can see my coding:
scoreText = display.newText (mydata.score, display.contentCenterX, 150, "Arial", 108) scoreText:setFillColor (1, 1, 0)
It shows me a black zero(mydata.score), when it should be a yellow zero. When I delete scoreText:setFillColor (1, 1, 0) it shows me a white zero, I guess that’s the default.
text = display.newText("test", 100, 100, "Arial", 100 ) text:setFillColor(1, 1, 0)
I tried to run this other than my coding. This one seems to be working.
Where am I doing wrong?
Please help me.
Thanks in Advance,
Gurcan