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

Scroll now playing overlay text when overflowing #28017

Merged
merged 7 commits into from
May 3, 2024

Conversation

Joehuu
Copy link
Member

@Joehuu Joehuu commented Apr 28, 2024

Done locally for now as I'm not sure where else this will be used. Also less effort on the abstraction of delay, text speed, margin, and parent width. Made it work for all 3 x anchors just so I didn't have to write a comment saying it only works for centre and possibly reused in the future.

Before After
Screenshot 2024-04-27 at 8 23 37 PM Kapture 2024-04-27 at 20 25 31

Takes inspiration of Winamp (Classic skin) and Apple Music:
Kapture 2024-04-27 at 20 37 12 Kapture 2024-04-27 at 20 38 33

Unsure what Winamp skin @arflyte was referring to. Modern and Bento / Big Bento has this right and left scroll loop:
Kapture 2024-04-27 at 20 42 17

Which I think looks wrong (because at least in English, text is read left to right). For very long text scrolling back, I wouldn't comprehend what it says.

osu.Game/Overlays/NowPlayingOverlay.cs Outdated Show resolved Hide resolved
osu.Game/Overlays/NowPlayingOverlay.cs Outdated Show resolved Hide resolved
osu.Game/Overlays/NowPlayingOverlay.cs Outdated Show resolved Hide resolved
osu.Game/Overlays/NowPlayingOverlay.cs Outdated Show resolved Hide resolved
@arflyte
Copy link

arflyte commented May 2, 2024

Lol, just a simple marquee like what you have. Definitely not like the newer Winamp.

@bdach bdach requested a review from peppy May 3, 2024 06:54
@peppy peppy merged commit ecb9173 into ppy:master May 3, 2024
11 of 17 checks passed
@Joehuu Joehuu deleted the scrollable-text branch May 3, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants