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

(XMB/GLUI/Ozone) Add optional menu screensaver animations #12264

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

jdgleaver
Copy link
Contributor

Description

This is a follow-up to #12217.

At present, when using XMB/GLUI/Ozone, enabling the menu screensaver will cause the screen to be blanked when the screensaver timeout has elapsed. This PR adds three optional animations that may be displayed instead - these can be selected via the new Settings > User Interface > Menu Screensaver Animation entry; animation speed may be adjusted via Settings > User Interface > Menu Screensaver Animation Speed. The options are as follows:

  • OFF: Screen will be blanked

  • Snow:

screen_record__2021_04_13__11_57_49

  • Star Field:

screen_record__2021_04_13__11_58_37

  • Vortex:

screen_record__2021_04_13__11_59_30

Notes:

  • These effects are rendered using font glyphs; the performance overheads of all the animations are therefore low
  • The animations are dependent upon the font file assets_dir/pkg/osd-font.ttf. Most platforms should have this installed by default. If the font file is missing (or on platforms without TTF font support), the animations will still run, but all glyphs will be replaced by * from RA's internal bitmap font
  • When using GLUI/Ozone, the screensaver will be tinted (somewhat) according to the current menu colour theme (XMB uses a fixed screensaver colour, since it does not have a 'proper' colour theme implementation, and adding that is beyond the scope of this PR...)

@inactive123 inactive123 merged commit b5d983c into libretro:master Apr 13, 2021
@jdgleaver jdgleaver deleted the screensaver-animation branch April 13, 2021 16:00
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