turn off autorotate

hi,
i have a game played in landscape. i do not want it to rotate to portrait when the device is moved. i have used changed parameters on the scene's autorotate attribute. also have tried to constrain an actors autorotate in scene. when i play the game on GSviewer it always starts in portrait even though game parameter is iPhone landscape. it it always switches view when i am playing. is this a glitch with GSViewer or am i missing something simple.

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    The viewer does not support fixed rotation. Here's why, the rotation setting are put in during the publishing process through the web publishing portal. If you don't want it to rotate while using the viewer lock the physical rotation on the device. Double click the home button on your iPhone and swipe right. There you can lock it.
  • ArmellineArmelline Member, PRO Posts: 5,374
    If you don't want it to rotate while using the viewer lock the physical rotation on the device. Double click the home button on your iPhone and swipe right. There you can lock it.
    My experience is that this will only lock it to portrait, so won't help rob*m. As far as I know you can only lock a jailbroken device to landscape. I get around it by just... keeping the device pretty still :D

    But it's fast and easy to push out an ad hoc test build, and that'll have the correct orientation settings, so I recommend doing that.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Ah yeah you're right... Sorry for the incomplete information. You can though do a viewer build out of Xcode with only landscape settings.
  • rob*mrob*m Member Posts: 5
    thanks for the help. have uploaded game to app store so hopefully the correct rotation settings have gone with it and it will work fine.
Sign In or Register to comment.