I've attached 5 things
- A video of it in use (first cutscene of my modpack)
- A script that I used for the animation in the video (juiceBlast.js)
- 2 scripts that are the main thing being presented here that enable the animation (These are the two that you will want to take if you want to use it yourself)
(AnimationBuilder.js) interacts with your code and converts them into a format that animation player can understand. This code is clean
(animation player.js) this code is festering a tad and actually interacts with painter and events to play the animation - A html file that I use as tests for AnimationBuilder.js (unless you know what this means then you can ignore it)
I plan on updating this, (for example making it run on the client instead of server, and targeting individual players instead of all at once, quadratic animation instead of linear)
Currently it is kinda a showcase, might clean it up and add a tutorial how to use it later. (You can figure it out!)
Everything here is under the MIT license except for the juiceBlast.js which is under Mozilla Public License Version 2.0.
This means that if you include one of the (that are under MIT) you just need to say some where that I made this and that what I made is under the MIT license.