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

Add scroll speed factor info for changing scroll speed multiplier in map #170

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

WilliamQiufeng
Copy link
Member

Scroll speed factor changes can introduce parallax effects and help making some SV effects more smooth.

Current implementation consists of a list of factors that are lerped in time (excluding start and end). Each factor info has a LaneMask field, that is a bitwise mask of the lanes (0-indexed) that are affected by this factor, ith bit for the ith lane: -1 applies to all lanes, -56 (1111...1001000) for the 4th and 7th lane in a 7k map (1-indexed). This way we are able to have separate factor changes per lane.

@WilliamQiufeng WilliamQiufeng marked this pull request as ready for review August 29, 2024 10:01
@Swan Swan marked this pull request as draft October 24, 2024 14:11
@Swan Swan marked this pull request as ready for review November 5, 2024 13:53
@Swan Swan merged commit 6f69d51 into Quaver:master Nov 5, 2024
2 checks passed
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