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

Adjust osu!taiko and osu!mania editors to not visualise velocity changes by default #24550

Merged
merged 11 commits into from
Sep 21, 2023

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Aug 15, 2023

Stable never had this, and it's more natural to edit in linear speed.

I thought it would be interesting to have a menu item toggle for this but it appears like we can no longer change the visualisation method after a ruleset's been loaded.

2023-09-20_22-34-34.mp4

@peppy
Copy link
Member

peppy commented Aug 15, 2023

On the fence about this.... one of the goals of the editor was to be a layer on top of gameplay, and this strictly goes against that concept. Can understand it making editing easier, but like, previewing is no longer a seamless thing, and you have no idea how a beatmap is going to look / play without changing display modes via a new screen.

I feel like this would need to be a very visible toggle, alongside a zoom control.

Have you investigated how hard it would be to change the algorithm on the fly?

@smoogipoo
Copy link
Contributor Author

smoogipoo commented Aug 15, 2023

From a technical perspective it isn't difficult to have it toggleable: smoogipoo@9ce84e6 (beyond it now being a simple-ish breaking change for scrollable rulesets)

But I'm not sure about the UX in the above branch.

I'd really like to not spend too much time on this, because the editor is pretty far down on my priority list - this change is 1 line of code that constitutes what I think is an MVP. Mappers have used constant scroll with the same UX in the osu!stable editor for about a decade by now.

@peppy
Copy link
Member

peppy commented Aug 15, 2023

I guess the next question is: should this also be applied to taiko? catch? Should it even be applied to osu!mania when there hasn't been a single issue/discussion complaining yet?

Would like to see a bit more discussion and have a feel of it myself before making any abrupt decisions.

@smoogipoo
Copy link
Contributor Author

Should it even be applied to osu!mania when there hasn't been a single issue/discussion complaining yet?

Consider this the discussion thread, and that I've done this only because it's been brought up to me.

should this also be applied to taiko?

Actually, it must be applied to taiko, as it's impossible to map with SVs there due to their overlapping algorithm. I thought it was already applied but it appears not...

@peppy
Copy link
Member

peppy commented Aug 15, 2023

I'd definitely be more okay if it's applied everywhere, put it that way. Should be okay to get this in as a starting point, then follow up with zoom and visualisation modes.

@DannyPX
Copy link

DannyPX commented Aug 15, 2023

A toggle for SV visualization would be nice to preview the map. But it would be practically too difficult to edit the map with SV visualizations, especially on heavier SV maps like maps in tournaments.

As for a feature in the future, having a preview playfield next to the editor playfield, and a toggle to turn on/off the preview. This is done in certain rhythm games already, like Quaver.
image

@peppy peppy self-requested a review August 18, 2023 09:37
@peppy
Copy link
Member

peppy commented Aug 18, 2023

Actually, it must be applied to taiko, as it's impossible to map with SVs there due to their overlapping algorithm. I thought it was already applied but it appears not...

I'm not sure about this. On a brief check, it seems like the taiko editor handles quite nicely even with the algorithm set to overlapping. I still feel like we're losing a lot by setting all the editors to Constant, so I'll look to make this a toggle if that's the best path forward.

@peppy
Copy link
Member

peppy commented Aug 18, 2023

having a preview playfield next to the editor playfield, and a toggle to turn on/off the preview.

The timeline already acts as a preview of the constant timing layout. The main area is a preview of the gameplay. That was my intended direction forward.

@smoogipoo
Copy link
Contributor Author

smoogipoo commented Aug 21, 2023

On a brief check, it seems like the taiko editor handles quite nicely even with the algorithm set to overlapping

It depends on the map and if there are timing points with significant enough speed to overlap. For example (and this is not an extreme one): https://osu.ppy.sh/beatmapsets/1603159#taiko/3275829

2023-08-21.19-17-47.mp4

@peppy
Copy link
Member

peppy commented Sep 1, 2023

I've pushed changed to make this work across all rulesets, but taiko needs consideration. I may revert this change and keep it local to osu!mania if I can't figure a solution quickly.

@peppy
Copy link
Member

peppy commented Sep 20, 2023

@smoogipoo I came up with a good in-between solution. Can you check and make sure it looks okay to your eye?

@peppy peppy added the next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! label Sep 20, 2023
@bdach bdach self-requested a review September 20, 2023 10:21
Would otherwise trigger IDE0055, but that isn't resolveable without
an inspection cycle with resharper, so just move in a more sane place.
Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

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

Not @smoogipoo but figure I'll drop a review so that this can maybe get into release I guess

}
}

private void updateScrollAlgorithm()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of scope of this pull, but I majorly like this, since it will help fix issues like SVs not taking effect immediately pretty much instantly (just subscribe to ControlPoints updates and call this).


namespace osu.Game.Rulesets.Edit
{
public abstract partial class ScrollingHitObjectComposer<TObject> : HitObjectComposer<TObject>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This though I'm feeling kind of bearish about since it's starting to feel like a potential future inheritance finger trap. But I trust that we'll be able to recognise when it gets bad enough so probably fine for now...

Copy link
Member

Choose a reason for hiding this comment

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

yeah.

@peppy peppy changed the title Disable SV changes from being visualised in mania editor Adjust osu!taiko and osu!mania editors to not visualise velocity changes by default Sep 20, 2023
@smoogipoo
Copy link
Contributor Author

The changes look good to me.

@bdach bdach removed the request for review from peppy September 21, 2023 07:13
@bdach bdach enabled auto-merge September 21, 2023 07:13
@bdach bdach merged commit 08ef840 into ppy:master Sep 21, 2023
andy840119 added a commit to andy840119/karaoke that referenced this pull request Sep 24, 2023
Here's the breaking change in the IScrollingInfo: ppy/osu#24550
And should remove the LegacyBpmMultiplier: ppy/osu#24738
@smoogipoo smoogipoo deleted the mania-edit-disable-sv branch October 10, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:editor next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! ruleset/osu!mania size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants