完成音频引擎与音频组件

This commit is contained in:
Ziyu
2025-06-16 14:44:47 +08:00
parent c4afa83817
commit 4b49311dc7
23 changed files with 472 additions and 9 deletions
+7
View File
@@ -53,6 +53,13 @@
{ "动画名" : {"帧持续时间" : ms, "行" : (从0开始数), "帧序列(列)": [0,1,2...]} }
```
要求每个动画序列帧必须在同一行。
- sound (json_string) : 添加音频组件,json格式为:
```json
{
"id1" : "file_path1",
"id2" : ...
}
```
- 图块碰撞编辑器:识别为碰撞盒,限一个图形,只支持矩形和圆形
- 两层皆可