1. 首页
  2. 数据库
  3. 其它
  4. defold_collection_parser:将Defold的收藏和游戏对象文件解析为Lua表的模块 源码

defold_collection_parser:将Defold的收藏和游戏对象文件解析为Lua表的模块 源码

上传者: 2021-04-22 19:44:18上传 ZIP文件 4.16KB 热度 4次
Defold用于收藏,游戏对象和组件的文件应该几乎可以打开,它们都是相同的格式。 最小用法示例: parser.decodeFile(文件) file = io.open (path, " r " ) local data = parser. decodeFile (file, filepath) file: close () parser.encodeFile(文件,数据) local file = io.open (path, " w " ) parser. encodeFile (file, data) file: close ()
下载地址
用户评论