haxeui / haxeui-kha

The Kha backend of the HaxeUI framework -
http://haxeui.org
MIT License
45 stars 16 forks source link

support unflattened asset paths #49

Closed sh-dave closed 3 years ago

ianharrigan commented 3 years ago

Hey, can you explain what this does? Im not 100% sure i follow :)

sh-dave commented 3 years ago

Sure, but it's pretty much explained in the Kha Wiki as well. Normally khamake will flatten all assets directories into the export root folder when exporting. So say

will both end up in the build/PLATFORM directory

and are accessible via

You can setup khamake however, to keep the directory structure intact when exporting (see the link in the ToolkitOptions.hx change). The assets will be exported to

and will be accessible via

The code change supports both formats now via the flag and defaults to the original implementation.

ianharrigan commented 3 years ago

prefect, thanks!