Closed Kebap closed 3 years ago
There seems to be no documentation about the "resources" folder at all.
How can files put in there be accessed from inside Lua scripts?
You did it right, I am only copying it rather than moving it as it may also be something you want to use in your package itself.
src/resources/* is copied into the package root, so that is where you want to put those files (background images, fonts, etc).
This may be a thing that I didn't think to document because it was obvious to me as the person who made the decision, I'll add some documentation for it
Fair enough, thanks!
So I added an icon file to my muddler package, but it seems to be included twice:
Once in the main directory, then again in the icon's sub-folder. Did I do it wrong? I only put it in "resources" folder and linked it in config.lua..