Make text appear upon a tap?
Does anyone know how to make text appear upon a user tapping an object? I'm using the interactive tap format. I just want to make text appear but can't find any tutorials.
I was thinking I could maybe make the text super small and then upon a tap, it scales up in size so it "appears." Is that possible?
Thanks for anyone who can help!
You can use the tween-manager to animate the text
https://lensstudio.snapchat.com/guides/scripting/helper-scripts/tween-manager/
And I used the Behaviour helper to trigger the animation
https://lensstudio.snapchat.com/guides/scripting/helper-scripts/behavior/
Here is an example file:
https://drive.google.com/open?id=1rVXrXDkCjomjWrtKO-rY4ZfWTVh_yh1Q
Oh - I realize now that you just wanted it to appear - not animate it.
In the example file, I used a TweenTransform to animate the image size from small to large.
Then TweenAlpha to adjust the alpha and make it fade away.
And a TweenChain that takes those two and runs them in order.
I guess you could use only the TweenTransform if you just want it to appear, and adjust the time to a minimum.
or
only use the AlphaTransform.