Spritify icon indicating copy to clipboard operation
Spritify copied to clipboard

possible feature: export NLA/frame animation info as text

Open TehBucket opened this issue 10 years ago • 4 comments

It would be very useful to streamline the art-to-game process even further by exporting animation data along with sprites, so that developers could import information like start and end frames of the sprites, where animations start and stop, and sprite dimensions.

Example: thuggun 0, 49, walk 49, 86, shootGun 86, 91, pain1 91, 96, pain2 96, 120, idle 120, 129, DIE

When I was exporting lots of sprites with spritify, I wrote a seperate script to print this information, I hope it helps if you end up adding this feature. http://pastebin.com/yuF8SkZz

TehBucket avatar Dec 08 '14 20:12 TehBucket

The addon was made for my project https://github.com/FreezingMoon/AncientBeast on which I was planning on having each action as a separate sprite sheet, but the more I get into coding, the more that seems like bad practice, so your script will definitely come in handy to stream line the process, cheers :) Glad you found this addon useful; wish github wouldn't treat all conversation as issues xD

DreadKnight avatar Dec 11 '14 00:12 DreadKnight

@Fweeb feel free to integrate this feature, seems very useful.

DreadKnight avatar Dec 11 '14 00:12 DreadKnight

Looks like a useful addition (apologies for the late response). Would it be most useful to have this metadata as a same-named text file or embedded in the image as metadata. The latter is a touch more complicated as each image format tends to handle embedded metadata differently, but maybe something could be done using XMP.

Fweeb avatar Jan 22 '15 21:01 Fweeb

The first approach is the way to go as metadata is pretty obscure stuff when it comes to game dev and it's not used evenly between different operating systems and desktop environments.

2015-01-22 23:01 GMT+02:00 Jason van Gumster [email protected]:

Looks like a useful addition (apologies for the late response). Would it be most useful to have this metadata as a same-named text file or embedded in the image as metadata. The latter is a touch more complicated as each image format tends to handle embedded metadata differently, but maybe something could be done using XMP http://en.wikipedia.org/wiki/Extensible_Metadata_Platform.

— Reply to this email directly or view it on GitHub https://github.com/Fweeb/blender_spritify/issues/3#issuecomment-71097775 .

Dread Knight about.me/DreadKnight [image: Dread Knight on about.me] http://about.me/DreadKnight

http://about.me/DreadKnight

DreadKnight avatar Jan 23 '15 03:01 DreadKnight