flixel icon indicating copy to clipboard operation
flixel copied to clipboard

Enhancement: Adobe Animate Texture Atlas / Spritemap support

Open CyndaquilDAC opened this issue 3 years ago • 9 comments

Adobe animate spritemaps are a way to save memory and space over the regular spritesheet format and simultaneously store longer animations with no issue. Instead of having an entire graphic for every frame, it generates all the individual pieces that you can assemble using the two generated JSONs: one that stores animation data (rotation, scaling, positioning, the works) and one that stores the positions of the pieces on the spritemaps. I doubt this would be easy or even feasible to implement, but it would be very, very useful.

CyndaquilDAC avatar Jul 28 '21 18:07 CyndaquilDAC

I know @ninjamuffin99 was looking into something this for FNF. I don't know how far he got but I'd love to see it added to flixel.

Cam got a status? let me know if there's anything I can do to help

Geokureli avatar Sep 02 '21 22:09 Geokureli

I support this idea!

polybiusproxy avatar Sep 14 '21 17:09 polybiusproxy

I know @ninjamuffin99 was looking into something this for FNF. I don't know how far he got but I'd love to see it added to flixel.

Cam got a status? let me know if there's anything I can do to help

@Smokey555 has one that works, albeit only with animate 2018.

CyndaquilDAC avatar Sep 25 '21 19:09 CyndaquilDAC

just to redirect some peeps to somethin nice, this library seems to be nice, haven't tried it out yet, but i like the logo lol! https://github.com/Dot-Stuff/flxanimate

ninjamuffin99 avatar Oct 03 '22 20:10 ninjamuffin99

just to redirect some peeps to somethin nice, this library seems to be nice, haven't tried it out yet, but i like the logo lol! https://github.com/Dot-Stuff/flxanimate

It would be interesting that someday it could be merged inside flixel lol

Cheemsandfriends avatar Oct 13 '22 19:10 Cheemsandfriends

we could always make a flixel-swf haxelib

Geokureli avatar Oct 13 '22 21:10 Geokureli

we could always make a flixel-swf haxelib

that would be actually nice and I think it would be relatively easy if the texture atlas base is good enough tbh it would be just parsing the swf and voilá, a working swf in your game just for you

Cheemsandfriends avatar Oct 13 '22 22:10 Cheemsandfriends

out here in 2023, at THE FUNKIN CREW INC (mostly @EliteMasterEric ) we made more progress implementing FlxAnimate and making it play nice and all that. as well as that i personally have been learning more and more about the insides of how it all works! if anything, might be nice to at least make a flixel demo around it!

ninjamuffin99 avatar Apr 17 '23 14:04 ninjamuffin99

I think a demo is the right move. Now that we have an official list of External Tools I don't think we need to absorb FlxAnimate and create roles that allow Cheems to manage it. A decentralized approach may be better. Obviously we need to improve the External Tools presentation and coverage, and include them on the Haxeflixel Website. We might even list FlxAnimate on top of the flixel Readme.

Note: In order for flixel to use new external libraries in demos we need to add them to our Setup-Flixel github action and coverage tests. this is fine for FlxAnimate, but know that not all external tools will have this privilage.

Geokureli avatar Apr 19 '23 16:04 Geokureli