R
Raonak
Guest
Hi, i'm developing a game for android, and am wondering if there's any way to change the device orientation?
I know you can uncheck orientations in the configuration menu... but my game supports both landscape and portrait, and in the case where the user has locked the orientation through the OS, is there a way to grammatically change the orientation?
e.g. User has locked the phone orientation to portrait, but wants to play the game in landscape.
is there some equivalent of os_set_orientation()?
I know you can uncheck orientations in the configuration menu... but my game supports both landscape and portrait, and in the case where the user has locked the orientation through the OS, is there a way to grammatically change the orientation?
e.g. User has locked the phone orientation to portrait, but wants to play the game in landscape.
is there some equivalent of os_set_orientation()?