开发者

Animation file format

开发者 https://www.devze.com 2023-02-18 22:56 出处:网络
I\'m trying to make a simple 2D animation file format. It\'ll be very rudimentary: only an XML file containing some parameters (such as frame duration) and metadata, and some images, each representing

I'm trying to make a simple 2D animation file format. It'll be very rudimentary: only an XML file containing some parameters (such as frame duration) and metadata, and some images, each representing a frame.

I'd like to have the whole animation (frames and XML document) packed in a single file. How do you suggest I do that? What libraries are there that开发者_运维问答 would allow easy access to the files inside the animation file itself?

The language I'm using is C++ and the platform is Windows, but I'd rather not use a platform dependent library, if possible.


I'm using Lua for that, lua is 100% cross-platform, the library is about 150 KB, and you can easily describe what you need. It's a lot more comfortable than XML for your needs, less verbose, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消