Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Code reports errors and positioning problems when using a custom image path #548

Open
liny0219 opened this issue Apr 2, 2024 · 0 comments

Comments

@liny0219
Copy link

liny0219 commented Apr 2, 2024

// packages/loader-base/src/atlasLoader.ts
line 62, the value is empty due to execution order, and the variable here should be changed to resolve(newAtlas)

image

image

 Assets.load({
      src: test,
      data: {
        spineAtlasFile:
          "https://pixijs.io/examples-v7/examples/assets/pixi-spine/dragon.atlas",
        images: {
          "dragon.png": await Assets.load({
            src: "https://pixijs.io/examples-v7/examples/assets/pixi-spine/dragon.png",
          }),
          "dragon2.png": await Assets.load({
            src: "https://pixijs.io/examples-v7/examples/assets/pixi-spine/dragon2.png",
          }),
        },
      },
    }).then(onAssetsLoaded);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant