In recent versions, when compiling the js scripts from builder, I realised that a separate html folder is no longer created. So at the start of the experiment, if resources is not specified in psychoJS.start(), would it download everything on the same level as the index.html file?
Also, I realised that the js script compiled in psychopy 2020.2.5 ‘manually’ specifies certain resource to download,
The ones specified in resources are the stimuli that are constant throughout all conditions (specified in the stimuli components).
However, I have multiple condition files and stimuli (pictures and videos), most of them are specified dynamically. I have quite a few resources, would i have to specify each of them manually for download in the js script?
Not specifying resources, does not seem to do the trick, nothing seems to be downloaded at all.
Relating to the first point. An additional html directory is not created anymore because this was duplicating resources, impacting storage for the pavlovia server.
Regarding manual imports, yes you would have to select all files - although you should be able to multi-select, selective importing of resources based on a grouping factor (i.e. not all stimuli are needed for all experimental groups) is something that the team have discussed working on for future releases
You can try the following. Create a “html” folder manually. Within the “html” folder create another folder called “resources”. Put your resources into this folder. For my experiment created with 2020.2.5, resources put into this “html/resources” folder are still downloaded automatically without any further actions required on my side.