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

Use hackTextureBySlotName with Pixi v7 and Spine v4.1 #554

Open
kfnx opened this issue May 27, 2024 · 0 comments
Open

Use hackTextureBySlotName with Pixi v7 and Spine v4.1 #554

kfnx opened this issue May 27, 2024 · 0 comments

Comments

@kfnx
Copy link

kfnx commented May 27, 2024

Code example:
https://github.com/kfnx/meeko-dressup/blob/f29085cd02108818209652fba10dd6bddc7fac9d/hackTextureBySlotName.html#L52

Im getting this error:

Uncaught (in promise) TypeError: spine.hackTextureBySlotName is not a function

I get the code example here, and it said:

This example is for PixiJS version < 7.x

https://github.com/pixijs/spine/blob/master/examples/hack_texture.md

so the hackTextureBySlotName is still available for pixi v6, but then docs said it doesnt support spine v4.x
image

https://github.com/pixijs/spine/tree/master?tab=readme-ov-file#versions-compatibility

is there a way to bring hackTextureBySlotName back in Pixi v7? cos i cannot use old spine version.

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