Phase • Animations made easy!

Suggestion @shreyash : additional directional FlipIn and FlipOut so that it is possible to create a turning/rotating effect. The current animations flip one way, then back the same way.

2 Likes

Salve a tutti,
nella mia app di consumo carburante, avevo incorporato un'estensione per effettuare animazione di nome: Phase; ma adesso quando la vado a provare con il Companion, mi compare questo errore: :pensiero:

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/ViewCompat;

Saluti
Nicola

[translation]

Hi all,
in my app, fuel consumption, I had built an extension to make animation-name: Phase; but now, when I go to try it with the Companion, I get this error: :thinking:

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/ViewCompat;

Greetings
Nicola

Use latest version

3 Likes

dora_paz grazie mille per il consiglio.
Saluti
Nicola

2 Likes

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 :thinking:

1 Like

A post was merged into an existing topic: Help please about my facemesh program

:sparkles: Phase v3.0 :sparkles:


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 :eyes:


  • Switched to helper blocks for animation techniques – The old property blocks are now deprecated.

    • tech-tada

    • tech-wave

  • Added AnimateComponent2 method – This is a simpler counterpart of the original AnimateComponent 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, and ResumeAnimation methods – These were ambiguous and didn't really play well with the ID system.

  • Added Cancel and CancelAll 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 the AnimationCancelled and AnimationEnds events. Has no effect on already canceled animations.

    • cancel

    • cancel-all

  • Added Pause and PauseAll methods – These can be used to pause running animations. Triggers the AnimationPaused event. Has no effect on already paused or cancelled animations.

    • pause

    • pause-all

  • Added Resume and ResumeAll methods – These can be used to resume previously paused animations. Triggers the AnimationResumes event. Has no effect on already running or canceled animations.

    • resume

    • resume-all

  • Added IsRunning and IsPaused methods – These can be used to determine the state of an animation.

    • is-running

    • is-paused

  • 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 :arrow_down:


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. :grin:

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

7 Likes

I see that I tested Rush 2 in terms of helper blocks. :grin:

1 Like

Awesome Extension! Thanks. :smiley:
Received these errors when testing all the techniques:

hingeerr
dropouterr
landingerr

Everything else worked as expected.

END

1 Like

:sparkles: Phase v3.1


Changelog :eyes:


  • Fixed the java.lang.Error: Cannot init easingMethod instance exception that would show up on some animation techniques. Thanks @ScottFromScott for reporting.

Downloads :arrow_down:


Direct: io.shreyash.phase.aix (81.1 KB)
Google Drive: io.shreyash.phase.aix - Google Drive

Cheers,
Shreyash

4 Likes

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.

2 Likes

@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.

grafik

2 Likes

Hello,

the latest version of Phase is not working.
Whatever technique you use, none of them work.

Can you help me?

Working OK here

image

testPhase (1).aia (223.3 KB)

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