Animation always fine but when adding a second one it sounds working in the editor but not on the live wallpaper.
Noticed sometimes it wasn’t working in the editor but selecting the animation and pressing play is doing the job.
Could you double check ? For me it’s with formula
Could you please share a screenshot or a screencast of the animation issue with your preset?
It would help us to help you with any solution.
Thanks.
Sure, I’ll do tomorrow.
In my preset I’ve set an animation when closing.
It’s what I’ve shown in my previous video
So I want to add an animation when a tab has to come . Here is my issue
So I want to set 2 animation
1 for the tab in order to disappear
1 for the tab to appear
It’s only working when 1 animation
The second animation not starting even the formula is 1 , so true
See the formula is 1 and when play button it works on the editor
Hi there,
I have tried to create 2 animation styles and both of them work just fine.
Watch the screencast, each of the animation triggered by the formula:
$if(gv(tab)=1, f, b)$
I use a global variable (type: List) as the toggle switch between the left and right button.
gv(tab): 1##Left Tab, 2##Right Tab
Screenshot 1
Screenshot 2
Screenshot 3
I hope this would help.
QUESTION
Why did you use a formula for the animation action?
Because I want to close on some action, before opening a new tab
And I want another animation when opening
It’s ok in the editor but on wallpaper no
See video
“The video is private”
Would you mind showing the script for the Formule and also for the Action: Echelle diminuée? I would like to see if either one of them is related to the animation issue.
The goal of that action is for making the new tab to appear, here in test the tab m (meteo = weather)
Hmm… now it’s more confusing TBH, I’m sorry.
What is $gv(actiona)$
and what triggers the update of its value?
Do these both List types?
$gv(tab)$
$gv(prevtab)$
I have never made an animation’s Action a formula, I never need it.
Hmm… so, is your goal with the animation to zoom in the tab when it’s opening and to zoom out when it’s closing?
Yes it’s m’y goal
Gv(actiona) is Scroll
Gv(tab) is the tab to be displayed
Gv(taba) is the previous tab
What is curious is it’s working in the editor
Hi brunoisa10,
Here’s a KLWP preset I’ve made as a tutorial for you. Hopefully it matches your need on the tab animation.
Here’s the preview and here you can download the preset.
To use the preset, extract it from the downloaded archive file (the .zip file) and place the extracted file into your Kustom/wallpapers
folder.
TIPS
- To change the Animation’s delay of each tab, edit the delay’s formula and change the delay value the same as the value of the Animation’s duration.
- The delay value of 0 means to immediately animate, it is when the tab zoom in. The delay value of > 0 means to wait the animation before the previous tab is completely zoomed out.
- Apply the animation to any objects or to any Overlap Groups or Stack Groups you want.
- I create the global variable for the tab,
tabs
, you can use any other name you like. - I use a Complex Animation action in this preset, rather than Scroll or other actions, because it gives more flexibility to create a custom animation style.
I hope this would help.
Very nice, Baju, and thanks for sharing!
You’re welcome, Ron.
Thank you for the explanation but finally it sounds rather a bug : not working fine when 2 animations, only with 1 is ok.
I can have animation when displaying or when disappearing but not both