Code Monkey home page Code Monkey logo

svga-format's Introduction

SVGA-Format

介绍

  • SVGA 是一种动画格式
  • SVGA 类似于 Dragonbones / CreateJS

格式规范

1.x

1.x 使用 JSON 描述动画,JSON 是一种易于扩展的、强大的描述语言,但是,JSON 也有一个致命的缺点,当动画极度复杂时,JSON 文件会变得非常大,解析耗时以及内存开销会增大。

因此,JSON 方案已于 2.0 开始,被弃用。

点此了解 1.x 的格式规范

2.x

2.x 使用 ProtoBuf 描述动画,相关的 Proto 协议可以在此获取

2.x SVGA 文件是使用 ProtoBuf 编写的二进制文件,并使用 zlib 压缩后得到。

Player 规范

2.0.0

2.0.0 的 Player 理应播放 2.x 的格式文件,并向下兼容 1.x 格式文件。

1.x

1.x 的 Player 只能播放 1.x 的格式文件,不能播放 2.x 的格式文件。

Roadmap

2.0.0

  • Audio feature
  • Bitmap Mask support

1.x

  • 只保证稳定性

svga-format's People

Contributors

ponycui avatar errnull avatar lancercomet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.