aada 0.1.1

纯 Rust 的 2D 骨骼动画引擎,兼容 Spine 4.x 导出格式(JSON + atlas)。求解到分层 Mesh 与各 Mesh 渲染设置为止,之后交给渲染器。
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "texture_name": "character_atlas.png",
  "uvs": [0.0, 0.0, 0.1, 0.0, 0.1, 0.1, 0.0, 0.1],
  "vertex_count": 4,
  "triangles": [0, 1, 2, 0, 2, 3],
  "bones": ["root", "bone1", "bone2"],
  "influence_counts": [2, 2],
  "vertices_locals": [
    0.0, 0.0, 0.0, 2.0, 10.0, 0.0, 13.0, 0.0, 10.0, 10.0, 0.0, 10.0
  ],
  "influence_bone_indices": [1, 2, 1, 2],
  "influence_weights": [0.3, 0.7, 0.3, 0.7]
}