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

PIXI.Assets options.defaultSearchParams doesn't affect atlas and image files when loading spines #540

Open
aram88888 opened this issue Jan 9, 2024 · 1 comment

Comments

@aram88888
Copy link

Inable to control loading file versions for atlas and images.
Code example

import {Application, Assets} from 'pixi.js';
import * as PIXI_SPINE from 'pixi-spine';
window.onload = async function () {
const app = new Application({background: '#000000', width: 800, height: 700});
document.body.appendChild(app.view);
await Assets.init({defaultSearchParams: 'v=16'});
Assets.add(
{
alias: 'spine',
src: './assets/spine.json'
}
);
Assets.add({
alias: 'sprite',
src: './assets/sprite.json'
});
await Assets.load(['spine', 'sprite']);
}

image

@aram88888
Copy link
Author

Any update?

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