Re:Adobe to remove Flash Player from web site after December...
by MayeulC on Monday June 15, 2020 @05:59PM
(#23533539)
Wouldn'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).
Re:Adobe to remove Flash Player from web site after December...
by Mirioron on Monday June 15, 2020 @09:03PM
(#23534889)
I'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.
Re:Adobe to remove Flash Player from web site after December...
by MayeulC on Tuesday June 23, 2020 @01:58PM
(#23617690)
Good 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/
Re:Adobe to remove Flash Player from web site after December...
by pier25 on Monday June 15, 2020 @09:17PM
(#23534969)
Yes, exactly.
For simple games or single animations Pixi is plenty. In fact Phaser.js is built on top of Pixi.
Re:Adobe to remove Flash Player from web site after December...
by darkwinx on Tuesday June 16, 2020 @01:28AM
(#23536189)
Phaser is not using Pixi since Phaser 3
Re:Adobe to remove Flash Player from web site after December...
by pier25 on Tuesday June 16, 2020 @09:37AM
(#23538970)
Woops thanks for pointing that out.
Re:Adobe to remove Flash Player from web site after December...
by throwawaywindev on Tuesday June 16, 2020 @12:18AM
(#23535905)
Have you heard of Lottie?
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
[2] https://pixijs.io/examples/#/plugin-dragonbones/eyetracking....