Skip to content

[ts][pixi-v8] Update slot object container with tint#3053

Closed
Hypnotriod wants to merge 2 commits into
EsotericSoftware:4.2from
Hypnotriod:4.2
Closed

[ts][pixi-v8] Update slot object container with tint#3053
Hypnotriod wants to merge 2 commits into
EsotericSoftware:4.2from
Hypnotriod:4.2

Conversation

@Hypnotriod
Copy link
Copy Markdown

  • [+] I confirm this contribution is made under the Esoteric Software LLC CLA.

@davidetan
Copy link
Copy Markdown
Collaborator

I was wondering, what if a user does not want the tint to extend to the slot object?
We should probably add an option to let the user decide if the slot object has to be tinted as the spine object.

@davidetan davidetan self-assigned this Apr 4, 2026
@Hypnotriod
Copy link
Copy Markdown
Author

Hi. In our case we have the Pixi Text inside the Spine slot object. And we want the colors of that text follow the Spine tint animation. So we have patched the Spine runtime for our needs.
If you are already propagating the slot alpha channel, so why not the rest of the colors?
But it is only a proposal. Maybe there is a better way?

davidetan added a commit that referenced this pull request May 21, 2026
davidetan added a commit that referenced this pull request May 21, 2026
@davidetan
Copy link
Copy Markdown
Collaborator

We decided to implement this through an opt-in behavior using a new followSlotColor property. Thanks for the idea and your contribution.

Released in 4.2.119 and 4.3.3.

@davidetan davidetan closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants