Copy link to clipboard
Copied
Hello,
In Adobe Animate, I animated a string of balloons expanding along a line. I was wondering if it was possible in this program to have the balloon animation automatically follow any line that was drawn. Possibly some coding happening so that the balloon animation happened along any line drawn. However, I'm not sure if this is even possible in Animate or where to begin. Does anyone have some ideas or pointers? Thank you for any feedback given!
I've included the balloon animation below for reference.
Copy link to clipboard
Copied
Hello,
yes, this is possible.
What needs to be done is to record the mouse coordinates while it's drawing the line (store them in an array) and draw the line using the drawing API, then position the balloon MovieClip at the same coordinates previously recorded in the array. the balloon expansion can be made as an animation in the balloon timeline hence it will apply to all instances of the balloon MovieClip.
Copy link to clipboard
Copied
Thank you so much for the response! I'll try this out and see how it goes.
Copy link to clipboard
Copied
Hi.
Unless you have a need to create some kind of generative art, you can just use tweens + guide layers or motion guides.
Please let us know.
Regards,
JC
Copy link to clipboard
Copied
Thank you very much for the response! To clarify, I guess it's more like generative animation where I just draw or create the line and the balloon animation will automatically follow the path of the line. Here's a video of a sort of similar idea in Blender where the user is drawing the lines for the rose animation to bloom and animate.
https://www.youtube.com/shorts/yjPWZbRtPdY
It's just in my case, I want the balloon animation to follow and animate along the line drawn. Thank you again for your time!