3 ms·
> Point 1: well there isn't really an equivalent The other day I was researching how to add simple procedural animations to some web-based interactive content
by pier25 6y ago
> Point 1: well there isn't really an equivalent
The other day I was researching how to add simple procedural animations to some web-based interactive content for a museum.
This would have been a breeze with Flash. You just passed the .fla to the animator/illustrator and they would create the item in the library for you. Then you could simply animate that display object in your code and the artist would be able to modify it without breaking anything.
I came up with this solution using DragonBones[1] so that the artists could work on their own. And then I could render those animations with Pixi[3].
I agree an all-in-one solution would be much nicer but not sure there is a market for it.
[1] http://dragonbones.com/en/index.html http://dragonbones.com/en/index.html
[2] https://pixijs.io/examples/#/plugin-dragonbones/eyetracking.js https://pixijs.io/examples/#/plugin-dragonbones/eyetracking....
- MayeulC 6y agoWouldn't something like this work in a game engine that can export to Webassembly, like Godot? Though in either case, you lose the web platform, with its accessibility (aria, screen readers) and forward compatibility (like the one we had with the move to smartphones, etc).
- Mirioron 6y agoI'm unsure whether this applies to Godot, but usually game engines come with a lot of unnecessary baggage. I think UE4 at its smallest was still something like 20 MB despite you not needing almost any of it. A 2D engine or renderer like PIXI.js makes more sense in these cases.
- pier25 6y agoYes, exactly. For simple games or single animations Pixi is plenty. In fact Phaser.js is built on top of Pixi.
- MayeulC 6y agoGood point, thanks for reminding me of these :) I haven't really benchmarked the size, but there are a few demos floating around. Not entirely sure how to measure it, but that one seems to come down to less than 10kB? https://obersprengmeister.frozenfractal.com/ https://obersprengmeister.frozenfractal.com/
- throwawaywindev 6y agoHave you heard of Lottie? https://airbnb.io/lottie/ https://airbnb.io/lottie/
- pier25 6y agoOh wow this looks great