Have you reconnected the companion after uploading the new extension?
No i havent
When you update any extension then you have to reconnect the companion to get it worked .
Oh thanks , It worked after reconnecting
I request to the extension developer. Please add isAnimating
block like lottie animation.
Then we can use block like this
You can use the “when animation starts” block to set a variable to “true”. There you go.
Make sure you use the latest version . You should show your related blocks, so anybody could help you.
i cant make screen shake.is theres other way to make screen shake?
It was working fine but I don’t know why I get this error only for today!
java.lang.IllegalAccessError: Illegal class access: 'io.shreyash.phase.Phase' attempting to access 'j' (declaration of 'io.shreyash.phase.Phase' appears in /storage/emulated/0/Kodular/assets/external_comps/io.shreyash.phase/io.shreyash.phase.jar)
Is there any collusion for this?
Delete the /storage/emulated/0/Kodular/assets/external_comps/io.shreyash.phase
folder on your phone and try again.
Thanks,
I can relate to that
“I’m here to learn not to Earn”, Shreyas
Please add this block
@SimpleFunction()
public boolean IsAnimating(float id) {
}
You can do that with existing blocks as well.
By I’d ?
It’s really simple to add in java.
That’s pretty straightforward to do with available blocks as well.
Just store the id
s of all the current animating components in a global list, say currentAnimatingIds
, and pop the respective id
off the list when the animation ends.
Use the is in list?
block to check if currentAnimatingIds
contain the desired id
– if it does then that id
is animating.
I have a problem, if we apply animation to more than 1 component in 1 Phase component by applying an id number.
Especially during Pause and Resume
Maybe it’s because the pause and resume methods don’t throw the id parameter, so the phase component can’t determine exactly which component will be paused and resumed.
This doesn’t happen if we use 1 Phase component for every 1 component to be animated. However, our program becomes inefficient.
Or maybe I misunderstood the use of this extension?
I believe this is actually a bug. Thanks for reporting, will release a fix soon.