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

[BUGFIX] SustainTrail forced alpha #2981

Merged

Conversation

gamerbross
Copy link
Contributor

@gamerbross gamerbross commented Jul 8, 2024

This did nothing but screw scripts
(what was the decision behind changing the alpha of the sustain trails to 1? they looked better at 0.6 imo)

@Hundrec
Copy link
Contributor

Hundrec commented Jul 8, 2024

I'm no coder, but I'm interested in this issue

How does this solution compare to #2893 (and the comments under it)?

@gamerbross
Copy link
Contributor Author

I'm no coder, but I'm interested in this issue

How does this solution compare to #2893 (and the comments under it)?

that makes it even worse, by always forcing the alpha to 0.6, not respecting the current design of alpha to 1

@anysad
Copy link
Contributor

anysad commented Jul 9, 2024

If you are removing the forced alpha, don't forget to also remove it from buildHoldNoteSprite() function from the same class. This is what handles the alpha pre-notehit.

@gamerbross
Copy link
Contributor Author

If you are removing the forced alpha, don't forget to also remove it from buildHoldNoteSprite() function from the same class. This is what handles the alpha pre-notehit.

if you remove it, press a sustain trail and drop it before it finishes, any next sustain trail which is recycled from that one, will be transparent causing problems. Even tho that didnt happen, doesnt really matter because there is no way to change the alpha before of that line

@EliteMasterEric EliteMasterEric added the status: pending triage The bug or PR has not been reviewed yet. label Jul 10, 2024
@EliteMasterEric EliteMasterEric self-assigned this Jul 10, 2024
@EliteMasterEric EliteMasterEric added status: reviewing internally This PR is under internal review and quality assurance testing type: optimization Involves a performance issue or a bug which causes lag. small A small pull request with 10 or fewer changes and removed status: pending triage The bug or PR has not been reviewed yet. labels Jul 10, 2024
@EliteMasterEric
Copy link
Member

Quote from #2893:

I messaged Dave about it but my recollection is that opaque holds were an intentional change. I will definitely merge the other PR that fixes the issue with mods changing opacity regardless.

@EliteMasterEric EliteMasterEric added status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: reviewing internally This PR is under internal review and quality assurance testing labels Jul 11, 2024
@EliteMasterEric
Copy link
Member

I will approve this one though so the modders can configure things how they like.

@EliteMasterEric EliteMasterEric deleted the branch FunkinCrew:develop July 12, 2024 01:00
@EliteMasterEric EliteMasterEric added this to the 0.5.0 milestone Jul 12, 2024
@EliteMasterEric EliteMasterEric merged commit 3ac10fb into FunkinCrew:develop Sep 16, 2024
@gamerbross gamerbross deleted the bugfix/forced-sustaintrail-alpha branch September 25, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small A small pull request with 10 or fewer changes status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. type: optimization Involves a performance issue or a bug which causes lag.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants