0
Hello everybody, I am working on an App where I need to animate every single character in a string(text label). I want them to fade in or out randomly. Please any help would be appreciated. Thank you
2 Antworten
+ 2
You'll have to render each character separately. You can store the alpha value of each character, increment or decrement it randomly, and render them individually.
I don't know if this applies to the programming language you use, but it should be something like that.
0
I'll give it a shot when home :)
// Swift language
for c in str.characters {
//Do stuff
}
Thank you