How do I make my game rotate on mobile for full screen?

delifood1

  • Posts: 24
So i've made a game for mobile and I want to be able to have it rotate from portrait to full screen landscape when user turns the phone. I checked to auto-rotate button on settings yet no dice. What's the best way to go about this?

Thank you

squeeb

  • Posts: 1617
I have an extension that does what you want... it needs to be updated to the newest build of stencyl... if someone wants to update it

delifood1

  • Posts: 24
I have an extension that does what you want... it needs to be updated to the newest build of stencyl... if someone wants to update it

Yea I would like to see it

colburt187

  • *
  • Posts: 2416
So i've made a game for mobile and I want to be able to have it rotate from portrait to full screen landscape when user turns the phone. I checked to auto-rotate button on settings yet no dice. What's the best way to go about this?

Thank you

Auto rotate is just for if you flip your phone upside down the game will adjust. Going from portrait to landscape is a whole other ball game. There are quite a few technical challenges with that. I would have a think about how essential it really is for your game before you go down that path.

delifood1

  • Posts: 24
So i've made a game for mobile and I want to be able to have it rotate from portrait to full screen landscape when user turns the phone. I checked to auto-rotate button on settings yet no dice. What's the best way to go about this?

Thank you

Well I think I need to do it because at the moment the game looks really small which makes it harder for the user. Is there any example codes or forums you can point me to?

Auto rotate is just for if you flip your phone upside down the game will adjust. Going from portrait to landscape is a whole other ball game. There are quite a few technical challenges with that. I would have a think about how essential it really is for your game before you go down that path.

colburt187

  • *
  • Posts: 2416
Why not just go full landscape mode for the game and remove the option to play it as portrait?