ejoy / ant

Ant game engine
MIT License
3.8k stars 383 forks source link

希望有地方可以配置项目支持的文件后缀名 #99

Closed cloudwu closed 7 months ago

cloudwu commented 7 months ago

Discussed in https://github.com/ejoy/ant/discussions/98

Originally posted by **constly** February 20, 2024 我在接入 [cute](https://github.com/RandyGaul/cute_headers) 来播放声音,这个可以直接播放wav或者ogg文件。 问题在于 我没办法仿照加载bank文件的方式来加载wav,因为wav没在ant.vfs/std.lua的game_whitelist中。 我感觉我这种散人或者说小团队,一般不太倾向于去改引擎的代码,因为这意味着必须要维护一个引擎分支,很麻烦, 如果可以在项目目录配置 或者 有程序接口可以设置那就比较方便了。