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

Quad alpha property not working #4188

Closed
enriqueto opened this issue Nov 23, 2018 · 1 comment
Closed

Quad alpha property not working #4188

enriqueto opened this issue Nov 23, 2018 · 1 comment

Comments

@enriqueto
Copy link

on phaser v3.15.1

quad.alpha = .5;
quad.setAlpha(.5, .5, .5, .5);
quad.setAlpha(.5)

don't have any effect

@photonstorm
Copy link
Collaborator

Sorry, Quad shouldn't even have the Alpha component. I've tidied it up to remove the components you can't use. Quad (and Mesh) alpha should be set per vertice in the alphas array.

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