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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
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.

1 participant