How can I create a menu with buttons to change Post Effects?
I'm currently working on a lens to create buttons to change the Post Effects and I created the layout but now I'm stuck. How can I create a button to change the Post Effects. Something like this lens:
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=88c7610d920440278efe6eb20875a237&metadata=01
Hey Kyrell,
I made a example project files for you which has three buttons to change the post effects
Here is the link to the project file
https://storage.googleapis.com/snapchat-lens-assets/f1a09194-f02d-43ed-92b8-62e843179ff0/lensStudio/Forum-Helpers/UIBotton_Example.zip
I didnt code anything in this project file.
All I used was Tween System to animate the button on press and on release also used Behavior script to add interaction which I used to disable all the post effects and enable one.
Here is the link to Behavior guide:
https://lensstudio.snapchat.com/guides/scripting/helper-scripts/behavior/
Here is the link to Tween guide:
https://lensstudio.snapchat.com/guides/scripting/helper-scripts/tween-manager/
It should be pretty easy to understand but let me know if you have any questions.
Cheers,
Amir.
Hi Amir;
Thanks! could you please explain how we can create a slider to change the color or effect intensity for exemple?
Thanks
Thanks Amir!
I want to change opacity for post effect by creating slider. could you help me in this matter..