Import assets

This topic contains 2 replies, has 2 voices, and was last updated by  Voidwalker 9 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10316



    I have a question about #Import. When importing assets I can later use load them using Image.Load( “asset::xyz.png” ) for instance. As far as I see in the resulting build all assets are put into the root folder below “assets”. Is there a way to keep the folder structure I have in my project?

    For instance:


    will lead to:

    /assets/title.jpg in the build folder.



    Try to use

    #Import “assets/graphics/@/graphics/”

    It should copy all files from graphics folder to the same product folder.

    After @ symbol you can specify any dest folder name.



    Awesome, thanks!

    In case anyone searches for this as well:

    #Import “assets/@/”

    will import everything and put it into its original folder structure.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.