-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Disable screen rotation while in active gameplay #5331
Comments
I think the OS rotation lock is enough? This will cause a UX problem if we disable rotation in certain screens (i.e. gameplay), or settings bloat if we make it toggleable. Also to note, I don't see a gameplay benefit with rotating in the middle of play, only a disadvantage if screen accidentally rotates (which OS rotation lock is there for). |
This has recently been fixed on android to respect the user rotation lock setting. It has always done so on iOS. Agree that we may want to block rotation during gameplay (when |
This turned out to be extremely convoluted for multiple reasons, in a cascading manner:
I can double down and start inventing Obj-C weirdness to make SDL use a custom app delegate subclass we provide, but that is not simple to achieve at all. As such, I've just un-assigned as not worth the time/effort for now. |
I'm guessing now that you have an |
Yeah I'll look into this again. |
Describe the new feature: while in gameplay, rotating your device should be blocked on Android and ios
The text was updated successfully, but these errors were encountered: