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

TextSprite character color vs. SceneObject fadeTo #368

Open
capnlove opened this issue Aug 31, 2016 · 2 comments
Open

TextSprite character color vs. SceneObject fadeTo #368

capnlove opened this issue Aug 31, 2016 · 2 comments

Comments

@capnlove
Copy link
Contributor

If a character of a TextSprite object is set to a color using setCharacterBlendColor, using the method fadeTo of the TextSprite will fade all letters except the ones set via setCharacterBlendColor.

Ideally, I think that the SceneObject-level commands dealing with alpha or blendcolor should override per-character modifications.

@greenfire27
Copy link
Contributor

I actually use the fact that it doesn't in the hidden word demo in the character toy. I take it you would like to have fadeTo make the multi-color word change to a single color? That sounds useful, but it would probably take a special fading function unique to the text sprite. That way it wouldn't break the existing functionality which also has use cases.

@capnlove
Copy link
Contributor Author

Your call, It can easily be circumvented with quick and easy script but I just think it deserves to be discussed.

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

2 participants