Sign in to follow this  

Personalize RotateScreen?

Recommended Posts

Hello, I've been searching through the forum and google but couldn't find info on this.

Is there a standard way to do this? I want to show an image to the player that says something like "Please rotate your device" and change the background color.

But panda only shows a white screen.


Thanks in advance!

Share this post

Link to post
Share on other sites

Not directly that I know of. Using bootstrap's media queries you coul use something like (in .less)

@media (max-width: @screen-xs-max) and (orientation:landscape) {     // Put your conditional css here}

And then if you need to do things with javascript maybe you could try this "hack"



This should work on a page web, but I have no idea how to deploy an app yet, so I don't know if it can work in the final product.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.