Whoops 0.8.4 Bug - Orentation Changes When It's Not Supposed To

PhoticsPhotics Member Posts: 4,172
edited November -1 in Working with GS (Mac)
So OK, I'm working on my new game. I have a touch release action. When the touch is released, the screen rotates to landscape.

UPDATE: It's not just a touch release... when I hold the touch, the screen may rotate to portrait too.

Comments

  • PhoticsPhotics Member Posts: 4,172
    Workaround: Add a Constrain... game.Screen.Device Orientation to your preferred setting... portrait / landscape
  • iPhoneDevForMeiPhoneDevForMe Member Posts: 362
    Do I just type in portrait/landscape in the second box of change attribute behavior?
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    Yes, how on earth do you do this? Where is the game.screen.Device Orientation attribute? Something you set once, right?
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    None of my scenes have an auto rotation attribute...

    Help?
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    Oh - It's an 8.4 thing?
  • PhoticsPhotics Member Posts: 4,172
    This workaround isn't working well enough. For some reason, it keeps rotating.

    Update: I'm using the poor man's debug again... maybe it's not "portrait" maybe it's a number.
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    @Photics, No man, go into the scene attributes for each of your scenes and update the new .8.4 Autorotate attribute... It was Landscape right checked, you probably want portrait checked...
  • PhoticsPhotics Member Posts: 4,172
    Heh... I went back to read what tshirtbooth wrote. It works now. I would have posted sooner, but I was busy playing my game. Heh... or is it considered testing. Yeah, that sounds more professional... testing.

    That's something to watch out for though. I had my game set for Portrait... but the landscape right box was checked by default.
  • beatragebeatrage Member Posts: 126
    I think every time they change the engine or they are updating the publishing system with new engines if we are using older engines with less features than the new ones ...our new APP games comes up with new BUGS! this is a theory but i think this really happens because i am making my second game more than a month with no errors and now with this new update my game started giving me orientation errors at the start and change scene errors ( going to wrong scenes).

    Please don't do this again or am going to give up once and for all... we developers really don't like to waste a month or a year making a game and see it going to the trash.

    I haven't updated yet but I am seeing that there's no other way to cure my TODAY NEW bugs!
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    It's a new attribute, they had no way to preload it for you. (Maybe they could have checked the Game Orientation preference - "Target Display = 320x480 (iPhone Portrait)") But it gets saved in the .gameproj file so it'll be there for ever once you select it.

    HTH, and Thanks to Mr T!
  • bladeolsonbladeolson Member Posts: 295
    so should i be "unchecking" autorotate from each scene? if I want to keep it portait all the time? Looks like it is set to autorotate to the right currently
  • PhoticsPhotics Member Posts: 4,172
    On mine, I checked auto rotate for both portrait modes. That way, if you flip the device, the game automatically uprights itself. It's actually pretty cool.
  • danayeldanayel Member Posts: 25
    I can't seem to get this to work.

    I think I have checked all the right boxes - portrait and reverse portrait, andset portrait and reverse in the advanced upload settings too, but it keeps autorotating to horizontal the moment the iphone is moved at all.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    And just to be sure, you checked Portrait/Portrait Upside Down in EVERY Scene?
  • danayeldanayel Member Posts: 25
    actually never mind. it seems the problem was that my app wasn't updating when i dragged the new version onto itunes.
Sign In or Register to comment.