Skip to content

Emscripten: mark assets used in the loading map as important #562

Open
@fdelapena

Description

@fdelapena

Before having an async file implementation, static data preloading was a big file. The problem of this was not just a huge loading time: browser is not caching large files and a page refresh needed to download the whole game data again.

Current async implementation is loading files on demand in the moment they are called. This allows to cache files apart of fast loading but makes the game display/hear the file a bit more later than it should, most noticeable on slow connections, degrading the game user experience.
To prevent this, files should be loaded enough time before by preloading them in some way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EmscriptenWebAssembly/JavaScript port for web browsersUXFor issues affecting the user experience, such annoyances, counter-intuitive or ugly design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions