0

我尝试在项目 xml 中添加 embed = true ,如下所示:

<assets embed="true" path="Assets" rename="assets" include="*" exclude="openfl.svg" />

但是如果我尝试从 assets 文件夹中删除图像,然后运行 ​​exe 文件,图像将不会显示,因此,它仍然从 assets 文件夹中加载。

有人可以帮忙吗?

4

1 回答 1

0

感谢大家,我在这里找到了 Joshua 的答案Embeding and reading image assets when deploying to Windows

但是谁知道在哪里可以阅读 openFL 文档中的答案?

于 2014-02-09T18:13:21.957 回答