This work nice, since I place the exported JS file with the assets files in the proper path “below” it. However, I was wondering if I could, at runtime, set the path to load these assets. Is this possible?
Unfortunately that’s not what I’m looking for. I got the assets declared at the projects file and I’d like to keep them loaging automatically. I was wonderig it there was a way to “intercept” the assets loding at the preloader to change tehir paths. Since the project is aimed at HTLM5, I believe this could be possible, since they are not actually loaded when tye preloader starts.
Hi everyone, I managed to find my way by implementing my own “Assets” class. Since my target is HTML5, I was able to do this by enabling the initial download in the preloader, using a parameter to indicate the path from where I want to download the assets.
Here’s the code for the assets class (it checks the “assets” parameter to know where to download the files):