Skip to content

Focus based moving background #14818

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

Merged
merged 3 commits into from
Sep 11, 2021
Merged

Focus based moving background #14818

merged 3 commits into from
Sep 11, 2021

Conversation

iota97
Copy link
Contributor

@iota97 iota97 commented Sep 10, 2021

Add another animation that scroll and zoom the current background image based on how you move on the menu (based on current focused view position, last scrollView moved scroll position and screenManager stack size).

There is a bug: if one view is focused and you scroll without moving the focus (e.g. scroll wheel) the 2 movement cancel one another, but working around that result in way more complex code and I think it's fine enough for an UI animation.

Preview: https://youtu.be/O8axvu6X5L0.

PS: name is kinda terrible, but I can't think of anything better...

@hrydgard hrydgard added the User Interface PPSSPP's own user interface / UX label Sep 11, 2021
@hrydgard hrydgard added this to the v1.12.0 milestone Sep 11, 2021
@hrydgard hrydgard merged commit b17ff0e into hrydgard:master Sep 11, 2021
@iota97 iota97 deleted the super-wp branch September 11, 2021 21:14
@ghost
Copy link

ghost commented Sep 12, 2021

Its also cool if the background is also moving in main menu while scrolling recent, games, homebrew & demos. But overall this is really cool thanks @iota97 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Interface PPSSPP's own user interface / UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants