rayrobdod / fxfightstage

A non-interactive two-combatant battle animation suitable for a turn-based strategy game
Apache License 2.0
0 stars 0 forks source link

Export Animations into a FEMP compatible spritesheet #2

Open rayrobdod opened 6 years ago

rayrobdod commented 6 years ago

I think FEXNA has a similar format - but it's private beta and why bother with documentation - so I don't really know.

Probably put it in a different Main class than the existing one.

It's probably not worth attempting to respect any color limitations. Backgrounds and sounds are handled differently enough that an automatic conversion might be rather difficult

The output format is basically just a sheet of equal-time separated images. Existing backgrounds are 240×120. Existing hit effects are 240×180. I'm going to assume the same size for unit sprites. Whitespace can be pruned given an appropriate offsetX and offsetY in a json file. Probably should also produce a json object with as much information as it can figure out on its own.

Probably command line with all inputs taken as arguments since there'd probably be nothing that requires an interface more complicated than that.

rayrobdod commented 6 years ago

The rasterizer branch (09be838f7a55c0325c71b3fc611f15ac7816ea00) is working on this

rayrobdod commented 6 years ago

I think there's probably no way that these will be GBA compatible, but it might be worth keeping http://feuniverse.us/t/fe6-7-8-circles-spell-animation-creator-updated-to-v1-1/1946 in mind anyway

rayrobdod commented 6 years ago

As of d1f0ca70e853c5f8b1818a2a4c2fbd0b384761d4, the spell effect rasterization is close enough