3

Im trying to find best solution to scramble or encode assets (especially images/textures) for a game written in HaxeFlixel. In the root of my project there is a folder assets/images, and that's where are all of my game textures are stored.

If I build the game for desktop, my images stay in this folder.

How can I encode my textures so that after the build nobody can see it?

4

1 回答 1

5

将项目 xml 文件中节点的embed属性设置为应该完成您想要的(它们将嵌入到文件中)。例如:assetstrue.exe

<assets path="assets/images" embed="true" />
于 2015-01-24T20:00:27.357 回答