Loading .pck does not work in HTML5

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Isccb

I’m uploading a .pck file using “load_resource_pack (” user: //file.pck “)” and it works when I run in the editor, but when I export the project to HTML5 and put it on my website it doesn’t work anymore. I tried to point to the file link “load_resource_pack (” http://website.com/file.pck “)”, but it didn’t work either. Does anyone know how to tell me how to load the .pck in order to work on the website?

The load_resource_pack() option expects a local filesystem path. Therefore, it’s expected that an URL isn’t going to work :slight_smile:

I don’t know if you can actually use this method in an HTML5 game yet.

Calinou | 2020-05-23 13:25

So what’s the use of loading resources in my game if I can’t export/publish afterwards?

Isccb | 2020-05-25 13:10