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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.