dora_paz grazie mille per il consiglio.
Saluti
Nicola
dora_paz ho seguito il tuo consiglio ed ho scaricato l'ultima versione di phase; ma mi succede una cosa strana. In pratica se la utilizzo in un button, mi funziona; ma se la inserisco all'interno di Initialize, non funziona
Phase v3.0
After almost 2 years, here we are again with a new version of Phase. This release was mostly motivated by the recent addition of helper blocks in AI2; I wanted to test if they worked in Rush and what would be better than to test them on my own extension. Along with the helper blocks, I managed to sneak in a handful of new things.
This release deprecates all the property-type animation technique blocks in favor of the new helper blocks. You should still be able to upgrade to this version without breaking any of your existing projects. Although not mandatory, it's recommended that you switch to new counterparts of the deprecated blocks.
Changelog
-
Switched to helper blocks for animation techniques – The old property blocks are now deprecated.
-
-
Added
AnimateComponent2
method – This is a simpler counterpart of the originalAnimateComponent
method but with fewer parameters. It is perfect when you want a quick way to animate something and don't need to listen to any events. -
Deprecated the
CancelAnimation
,PauseAnimation
, andResumeAnimation
methods – These were ambiguous and didn't really play well with the ID system. -
Added
Cancel
andCancelAll
methods – These can be used to cancel running animations. When you cancel an animation, the component associated with it is brought back to its original state (the state before the animation started). Both of these methods trigger theAnimationCancelled
andAnimationEnds
events. Has no effect on already canceled animations. -
-
Added
Pause
andPauseAll
methods – These can be used to pause running animations. Triggers theAnimationPaused
event. Has no effect on already paused or cancelled animations. -
-
Added
Resume
andResumeAll
methods – These can be used to resume previously paused animations. Triggers theAnimationResumes
event. Has no effect on already running or canceled animations. -
-
Added
IsRunning
andIsPaused
methods – These can be used to determine the state of an animation. -
-
Fixed a bug that allowed the use of duplicate IDs – You'll now be greeted with an exception if you try to use a duplicate ID.
-
The ID system has been reworked internally. This along with the new blocks for canceling, pausing, and resuming animations should remove the need for having multiple instances of Phase when dealing with a lot of animations simultaneously.
-
Other internal changes.
Downloads
Direct: io.shreyash.phase.aix (68.2 KB)
Google Drive: io.shreyash.phase.aix - Google Drive
Links in the first post have been updated as well.
So, that's it for this release. I thought the extension was technically done after the last release but I guess no software can ever be called done, there's always something to improve.
As always, feel free to provide suggestions and report bugs here. If you like my work and feel like supporting it, you can now do that here – https://ko-fi.com/shreyash
Cheers,
Shreyash
I see that I tested Rush 2 in terms of helper blocks.
Awesome Extension! Thanks.
Received these errors when testing all the techniques:
Everything else worked as expected.
END
Phase v3.1
Changelog
- Fixed the
java.lang.Error: Cannot init easingMethod instance
exception that would show up on some animation techniques. Thanks @ScottFromScott for reporting.
Downloads
Direct: io.shreyash.phase.aix (81.1 KB)
Google Drive: io.shreyash.phase.aix - Google Drive
Cheers,
Shreyash
Thanks for the update.
If you can add the explosion effect as the 69th technique?
Hi, is there an update to your Phase extension by any chance?
See also in the first post.
@Anke I updated the Phase extension but the slowdown is almost the same. What is the mistake I make when I go to check if the date on the label is the same as today's date?
After updating the extension delete the Companion dir from your test device and then try to connect to Companion again.
Hello,
the latest version of Phase is not working.
Whatever technique you use, none of them work.
Can you help me?
Why doesn't it work on my Samsung A52?
We are getting closer to an answer with that piece of information, but unfortunately I do not know why it does not work for you on that device. Do you have another device (not a Samsung) you can test on ?
I'll do some more tests with another device and an emulator
So it works fine with the emulator and another tablet, but don't change the theme in the system's developer mode. Otherwise it won't work any more.