- Joined
- Nov 19, 2019
- Messages
- 80
When locking the orientation to landscape or portrait we should let the player also use landscape flipped and portrait flipped. Sometimes it's nice depending on where the headphone jack is or side buttons.
We could change the suggested orientations from "portrait" and "landscape" to "userPortrait" and "userLandscape"
github.com
But since this requires API level 18 we should add backwards compatibility in Java. (Note: We still want to lock the orientation in the manifest too, because that gives it a better launch animation.)
Also I noticed there seems to be what may be a copy/paste error where onStart, onRestart, and onStop all call super.onResume(), so I changed that.
github.com
We could change the suggested orientations from "portrait" and "landscape" to "userPortrait" and "userLandscape"
recommend using "userPortrait" and "userLandscape" · GrantOjanen/cerberus@54ceb84
Cerberus X - A cross platform game programming language. - recommend using "userPortrait" and "userLandscape" · GrantOjanen/cerberus@54ceb84
But since this requires API level 18 we should add backwards compatibility in Java. (Note: We still want to lock the orientation in the manifest too, because that gives it a better launch animation.)
Also I noticed there seems to be what may be a copy/paste error where onStart, onRestart, and onStop all call super.onResume(), so I changed that.
improvements to screen orientation locking · cerberusxdev/cerberus@0a7b888
Cerberus X - A cross platform game programming language. - improvements to screen orientation locking · cerberusxdev/cerberus@0a7b888