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

Draw slide chevrons using SDF shader #639

Merged
merged 13 commits into from
Nov 15, 2024
Merged

Draw slide chevrons using SDF shader #639

merged 13 commits into from
Nov 15, 2024

Conversation

LumpBloom7
Copy link
Owner

Both FanSlide chevrons and regular slides are affected by this change.

Regular slide chevrons now sport rounded edges, matching other gameplay hitobjects and the fan slide.

Before After
image image

With the use of the same DrawableChevron, the code to generate fan slide chevrons is greatly simplified. SlideFanChevrons are no longer created at the DrawableRuleset, and the use of BufferedContainerViews are also not needed. Fan Chevron visuals remain nearly identical.

A side effect of this change is that the chevrons support the same glow that exists for the laned notes, opening up the potential for something like an "EX Slide".

@LumpBloom7 LumpBloom7 added tweak A minor change to an existing feature performance Improvements or related to performance labels Nov 9, 2024
@LumpBloom7 LumpBloom7 merged commit 9590703 into master Nov 15, 2024
3 checks passed
@LumpBloom7 LumpBloom7 deleted the SDF-chevrons branch November 15, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improvements or related to performance tweak A minor change to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants