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

Match mania editor playfield time range with timeline zoom #28809

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Jul 10, 2024

RFC.

2024-07-10.17-29-33.mp4

Honestly not super sure about this, but it was mentioned as a point in #24545, so gave this a go. Intentionally does not match stable which appears to apply a mostly arbitrary zoom (there appears to be zero apparent correlation between the timeline and the playfield there, so I didn't bother matching or even looking at source what stable did).

Method of application is a bit ad hoc but mania's baseline scroll speed managing code was already a bit more involved than I would have liked, and it's relatively isolated so maybe fine?

This only takes effect when "show scroll speed changes" is off. This is so that enabling that toggle provides an accurate representation of actual gameplay.

Applied locally to mania for now because the other scrolling rulesets didn't have a stable editor and I'm unsure if they would want this. I could see applying this for taiko, using the same behaviour of turning it off when showing scroll speed changes, but probably not for catch, as it would distort SVs there.

This is overlooking the fact that the timeline is generally (as per user feedback) a bit useless for mania right now which is something I'd be looking to address a bit later, probably by having per-ruleset implementations of timeline?

Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cool

@smoogipoo smoogipoo merged commit 00cab0e into ppy:master Jul 11, 2024
9 of 17 checks passed
@bdach bdach deleted the mania-timeline-zooms-composer branch July 11, 2024 06:42
@tailsdk
Copy link

tailsdk commented Jul 11, 2024

Looks good only weird thing is the fading timeline snaps when clicking usually people make maps zoomed out a lot so only seeing the snaps around where you click is a little weird

@bdach
Copy link
Collaborator Author

bdach commented Jul 11, 2024

Looks good only weird thing is the fading timeline snaps when clicking usually people make maps zoomed out a lot so only seeing the snaps around where you click is a little weird

already covered in #24545 ("Snap lines should stay, even if the cursor is not hovering")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants