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

26th Mar 2017, 11:47 PM
Abdelkader Ait Assou
Abdelkader Ait Assou - avatar
2 odpowiedzi
+ 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.
27th Mar 2017, 7:36 AM
John
John - avatar
0
I'll give it a shot when home :) // Swift language for c in str.characters { //Do stuff } Thank you
27th Mar 2017, 7:11 PM
Abdelkader Ait Assou
Abdelkader Ait Assou - avatar