Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Extensions/Spine/managers/pixi-spine-atlas-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ namespace gdjs {
return imagesMap;
}, {});

// Note: "atlas" and "spine" resources are never put inside a resource
// pack at export (see `ResourcePackPlanner`), because `PIXI.Assets`
// decides which loader to use from the extension of the URL, and a
// `blob:` URL has none. Only the atlas pages, which are plain images
// given to the loader below as already-loaded textures, are packed.
const url = this._resourceLoader.getFullUrl(resource.file);
const alias = url;

Expand Down
1 change: 1 addition & 0 deletions GDJS/GDJS/IDE/ExporterHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,7 @@ void ExporterHelper::AddLibsInclude(bool pixiRenderers,
InsertUnique(includesFiles, "inputmanager.js");
InsertUnique(includesFiles, "jsonmanager.js");
InsertUnique(includesFiles, "Model3DManager.js");
InsertUnique(includesFiles, "ResourcePackManager.js");
InsertUnique(includesFiles, "ResourceLoader.js");
InsertUnique(includesFiles, "ResourceCache.js");
InsertUnique(includesFiles, "timemanager.js");
Expand Down
240 changes: 193 additions & 47 deletions GDJS/Runtime/ResourceLoader.ts

Large diffs are not rendered by default.

Loading
Loading