Skip to content Skip to sidebar Skip to footer

How To Set Color Of Text Letters Individually?

How would I make text so that each letter is a random color in andengine GLES 2? For the random color I could go int red = (int) (Math.random() * 254) + 1; int green = (int

Solution 1:

each letter would have to be it's own Text and set each one's color randomly - just do it

and when you create the Text, set the color to white on creation, then change it to your random color

BTW, there is no way (that I am aware of) to do it in a single Text

Post a Comment for "How To Set Color Of Text Letters Individually?"