Live Date or Time For Filter?
Alright so I have a cool filter it's a retro camera effect, and would like to make it have the time
or date like in the corner? Or some way to make it come or go away? Anyone have an ideas or tips?
My Retro Camera Filter: https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=669298CB2DDA4FBA86F0F002BC05C480&metadata=01
Yes it is possible!
Here's some sample code which prints the day's date to the logger:
Then, to display it, check out our debug logger to print it to the screen (search TextLogger):
https://lensstudio.snapchat.com/guides/scripting/debugging/
Alright, I did that but nothing worked? I must of missed something.
Hey Chris, the above code just gives you the current date and prints it to the logger panel. It doesn't actually display it on the screen. Check out this post here which might help. Apoc actually posted an importable object to get a timer working. And it could be modified to display the current time:
https://lensstudio.zendesk.com/hc/en-us/community/posts/360007065286-How-Do-I-Put-A-Timer-Into-A-Lens-