Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17110

Change screen orientation programmatically

$
0
0

@framusrock wrote:

How can one change the screen orientation with code?

In my game there's a certain mode in which the player has to switch from landscape to portrait and I want avoid that the player has to hold the phone in another orientation than the 'real' orientation.

If the orientation of the OS is portrait but the player holds the device in landscape, he might accidentally issue a rotation.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>