Emscripten: Assets loaded from .data file?

About Monkey 2 Forums Monkey 2 Programming Help Emscripten: Assets loaded from .data file?

This topic contains 0 replies, has 1 voice, and was last updated by  Ratchet 1 year, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9953

    Ratchet
    Participant

    Looks like Emscripten packs all assets (images, sounds etc.) into one big .data file. In my case, I want to duplicate my app several times, just with other images loaded by the program. I don’t want to compile a new program every time, so the idea was to just replace the images in the “assets” folder. But it’s empty and I guess they are in the .data file

    Is there a way to load images directly from the “assets” folder?

     

    EDIT: I ported my app to Monkey 1 now. It’s more lightweight then with MX2/Emscripten and I can replace the images in the data folder very easily.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.