Page 1 of 1
Visual effects are laggy on android
Posted: Fri Nov 06, 2020 2:41 pm
by BigameOver
Hi guys,
When I try to go to card with visual effects the app becomes really laggy for a second and the movement is not smooth.
How can I fix this?
I tried acceleratedRendering but it seems it has no effect on it.
Here is my code:
Code: Select all
lock screen for visual effect
go to card "itemRegister1Card"
unlock screen with visual effect push right very fast
Thanks
Re: Visual effects are laggy on android
Posted: Fri Nov 06, 2020 3:32 pm
by AxWald
Hi,
try:
Code: Select all
set the effectRate to 300 -- Hint: effectRate is in millisecs
lock screen for visual effect -- Hint: visual effects seems not to work w/o accelRend
...
unlock screen with visual effect "scroll up" very slow -- Hint: "very slow" = use effectRate!
Have fun!
Re: Visual effects are laggy on android
Posted: Sat Nov 07, 2020 12:46 pm
by BigameOver
AxWald wrote: ↑Fri Nov 06, 2020 3:32 pm
Hi,
try:
Code: Select all
set the effectRate to 300 -- Hint: effectRate is in millisecs
lock screen for visual effect -- Hint: visual effects seems not to work w/o accelRend
...
unlock screen with visual effect "scroll up" very slow -- Hint: "very slow" = use effectRate!
Have fun!
Thanks, it works

. But after the user moving between card a few times it becomes again laggy.
Is there a way to "clean" or reset the visual effect after using and then use it again?
Re: Visual effects are laggy on android
Posted: Sat Nov 07, 2020 3:07 pm
by AxWald
Hi,
BigameOver wrote: ↑Sat Nov 07, 2020 12:46 pm
Is there a way to "clean" or reset the visual effect after using and then use it again?
To be honest - no idea. I use visuals on very sparsely, they tend to become annoying quickly.
Depending on the LC version you use, it may be that's just a bug in the version - I notice (rarely, but sometimes) ca. 1s "lag" when going to another card in LC 9.6.1 - without any apparent cause. But this could have a number of reasons, and I haven't found time yet to investigate it further.
The lag you describe comes only with visual effects?
Have fun!