Phase • Animations made easy!

Can i use for image sprite component? cause no one make for image sprite animation

It doesn’t work with sprites, but if you can apply the animation to all the sprites at the same time, you can make the canvas have transparent background color, and animate the canvas component and it will look like the sprites are animated.

1 Like

it doesnt work on thunkable

Can you please be a bit more specific and explain what do you mean by doesn’t work on Thunkable?

BTW, do you know Thunkable is no longer maintained and is going to retire soon (or maybe, is already retired). You might consider switching to Kodular.

Time for an update!
Added five new animation types in Bounce category as requested by @ryanhapps:

  • BounceOut
  • BounceOutDown
  • BounceOutLeft
  • BounceOutRight
  • BounceOutUp

Updated download links in the first post:

7 Likes

It would be great if we would be able to give ID for every animation and be able to detect the ID after animation Cancelled, End, Paused, Resume, Start :smiley:

1 Like

I was thinking about the same but, as no one asked for it and adding it would break the current event blocks, I decided not to add it. Now since, you have requested to add IDs, I’ll consider adding it if more people want it.

  • Yes, I want IDs.
  • No, I don’t want IDs.

0 voters

3 Likes

Yes, I’m animating many things at once and I need to detect the animation at end time that which one is ended. So I thought the idea of ID for each animation would be great…

1 Like

How about adding the component and animation technique as parameters in the animation events?
Users won’t have to worry about handling IDs if they can directly equate the components being animated

3 Likes

That sounds like a nice idea. I’ll wait for what others say, though. :slightly_smiling_face:

Also solve my problem :slightly_smiling_face:

The vote result says something :grin::grin::grin::grin:

1 Like

So, considering the poll results, I’ve added the ability to handle events with IDs, Component being animated and Technique used. But like I warned earlier, this update will break the previous blocks and you’ll need to manually replace every broken block. Blocks which are affected are:

Download:

11 Likes

Nice extension, glad your incorporating others’ ideas!

:hugs: We should get to know each other more, maybe stop being [enemies]?

Stay safe :heart:

3 Likes

Hi Shreyash,

I need to zoonin then zoomout then zoomin then zoomout in a loop with duration & speed control of this cyclic loop. How do I do that?

Thanks,
Donald

Hi,
You can do it like this :point_down:
IMG_20200410_220832

Perhaps, not the most efficient way, but it works.

Thank you, Shreyash, I got the idea. It now works great. I also added your extension into MIT App Inventor, it also works well.

However after I added the extension, it was renamed to be Any Phase with all the blocks renamed as well. Are these blocks different from yours. Or was it just a MIT conversion?

Donald

You might have used the blocks from Any Component section. If not, can you please share screenshot of what you are talking about?

2 Likes

I did not say it clearly. Sorry. By using your blocks, it worked fine. But in MIT, when I imported the extension, it also created another extension by adding “any” in front of your extension. I just wanted to know why.

Thanks, Donald

@Donald_Hwong they’re special components which let you access the properties/functions of any such component currently used in the screen, hence the name. I suggest you check out this blog: AITech - Using Procedures and Any component blocks, especially step 4.

3 Likes