animation file

I have been making a application to create animations for my game, but i am fed up with making it now, i have spent most of the time working on my game on editors and i want to work on my game. So iam looking for a file format that i can load into my game instead of creating my own format. It must have these requirements:

  • It must be able to store an 2d animation as a series of keyframes that are each made up of sprites* arranged about an origin

  • each frame must have a length defined in millis or as a number of intervals of standard length

  • The images that the sprites reference must reside outside of the animation file

*A sprite in this context is an object that describes a rectanglular subsection of an image

this is an example of what a keyframe should like like (made up of ser veral sprites)

I dotn thin kyoull find anything like that pre-built, sorry.

The only remotel;y standard format for 2D animation I know of is animated GIFs and they don’t do all that.

I am going to just make a text file format and then i can delay finishing the editor but still make animations.