Phase • Animations made easy!

Thanks a lot! :relaxed:

I’ll see what I can do. But I can’t promise anything as there are chances that doing it may break things up. Although, I think that shouldn’t be too hard to achieve. :slightly_smiling_face:

8 Likes

Time for a fresh update!

  • Added OnAnimationPause event.
    component_event

  • Added OnAnimationResume event.
    component_event%20(1)

  • Added PauseAnimation method.
    component_method%20(1)

  • Added ResumeAnimation method.
    component_method

  • Fixed ZoomIn/Out animation types. They were not working as expected earlier.
    Thanks @bodymindpower for reporting.

  • Increased extension’s size by 3.9 KB. :upside_down_face:

Download

io.shreyash.phase.aix (106.5 KB)
Updated first post too.

12 Likes

Tip: Use names like AnimationPaused and AnimationResumed instead of On<…>, because when AnimationPaused is more meaningful than when OnAnimationPause.

8 Likes

Okay, will do. :slightly_smiling_face:

6 Likes

Thanks a lot! It’s working perfectly now.

4 Likes

A quick naming fix!
Changed the names of following events:

  • OnAnimationStartAnimationStarts
    component_event%20(2)

  • OnAnimationEndAnimationEnds
    component_event%20(3)

  • OnAnimationCancelAnimationCancelled
    component_event%20(4)

  • OnAnimationPauseAnimationPaused
    component_event%20(5)

  • OnAnimationResumeAnimationResumes
    component_event%20(6)

Download

:warning: Caution: This fix will break the renamed event blocks in existing projects. Just replace the old blocks with new ones and you are good to go. :slightly_smiling_face:
io.shreyash.phase.aix (106.6 KB)

11 Likes

what next :fire: :fire:

3 Likes

I’ve already planned quite a few cool things, but unfortunately, I hardly get any free time to work on them. Busy with studies. :confused:

4 Likes

This post was flagged by the community and is temporarily hidden.

1 Like

Great, I look forward to it.
And as I already pointed out in the AI2 forum:

This great extension opens up so many possibilities that many have not yet realized (probably not even Shreyash himself :wink:.
For example, I could now easily solve an old (complex) issue (regarding timer, canvas, and known synchronicity issues) for a meditation app. The extension works in my case throughout the use of the app, not just during a first initial animation.

This is by far more than a simple extension of fade-in/out animation effects (similar to the effects that PowerPoint offers, as some say and with which one should rather be sparing).

Thanks a lot, again!

6 Likes

By cool things I actually meant some other extensions. :sweat_smile:
Sorry, but currently I don’t have any plans of updating Phase anytime soon. But if you want me to add something specific, feel free to suggest. If possible, it’d be surely added.

5 Likes

Yes, I thought so but I’m curious about every new extension from you.

4 Likes

A great extension. If it is used deliberately and carefully, a great value of an app.

Thank you very much.

3 Likes

Thank you so much. I have been looking for something like this for a while. This will let me add those little touches to the app I’m developing for my employer to take this from a decent little app to something that truly feels professionally made. I do have one question. I was trying to animate the view pager component to fade in and there is a split second where it shows on screen before the animation starts. I tried starting it with visibility as false and making it visible on animation start and it doesn’t seem to want to set the visibility.

2 Likes

Hi,
Will you please do me a favor and send me a demo app demonstrating this? :slight_smile:

2 Likes

I’ll try to do that this weekend. I’m currently just animating the first arrangement for the view pager and then setting the rest of the arrangements visible when the animation ends and that’s accomplishing most of what I wanted (The tabs don’t slide down like I had wanted, but it’s not a biggie).

2 Likes

So I found a workaround that does what I want. Place the View Pager inside another layout and animate that one.

3 Likes

One more question before I break something… How many animations can I run at once? Let’s say I’m dynamically generating a questionnaire and want to animate 30 + questions each to fade down. Am I going to run into issues?

1 Like

Can this extension be able to run multiple animation instances at once? I tried with my app but the existing animation will always get cancelled before playing the next animation

1 Like

Why you need 30 different instances? Use one label for the question, and change its text for the next question. Then you need to animate only that label.

1 Like