Skip to content

Take account for alpha when using FlxCamera.flash() #3455

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

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

NickMGC
Copy link
Contributor

@NickMGC NickMGC commented Jul 30, 2025

In HaxeFlixel 5.9.0, (#3217) the drawFX function was overhauled, but alpha was unaccounted for. This overhaul broke how alpha was displayed when using FlxCamera.flash() - when assigning a color with opacity, it would ignore the alpha value and display the color at full opacity. This pull request fixes that issue.

@NickMGC NickMGC changed the title Fix alpha channel Take account for alpha when using FlxCamera.flash() Jul 30, 2025
@NickMGC NickMGC marked this pull request as draft July 30, 2025 20:04
@NickMGC NickMGC marked this pull request as ready for review July 30, 2025 20:05
@Geokureli Geokureli merged commit c9ae61e into HaxeFlixel:dev Jul 31, 2025
10 checks passed
@Geokureli
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants