Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
High Scores in landscape mode on iPad — Gideros Forum

High Scores in landscape mode on iPad

totebototebo Member
edited August 2016 in General questions
No matter what flags I set, the high scores always appear in portrait mode when testing in Gideros Player on device.

Is this a Gideros thing (because the player is always drawn in portrait), or is there a way of getting the high scores to display in landscape?
My Gideros games: www.totebo.com

Comments

  • Yes, make a player that is exported as landscape - just delete the assets like you do on Windows - you may need to export it with encryption turned off.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • Thanks @sinister. I haven't released anything on Windows yet, so not sure what you mean there. How would I export a player as landscape?
    My Gideros games: www.totebo.com
  • somewhere at the top of your code put
    stage:setOrientation(Stage.LANDSCAPE_LEFT)
    Also in Gideros Studio right click on your project in the project explorer pane and select properties. In the main page set your desired orientation.

    That should do it.
  • oops, I meant Android not Windows. :)

    To export as landscape just click properties and set it to landscape, then export a full project. Gideros will set up the xcode for you. Then remove the assets sub folder (the assets folder within assets) - that makes a player.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • @antix, Cheers, that works for the game itself. I'm trying to build a standalone player though, so I can test without having to build.

    @SinisterSoft, Oh really, that works on iOS too? Fantastic!
    My Gideros games: www.totebo.com
  • @sinistersoft, the export to iOS and remove assets folder works. But despite setting the app to landscape, the high scores show portrait on iPad. WHY?!
    My Gideros games: www.totebo.com
  • no idea - that is odd - is it a setting actually in game center controls - i mean on apples webpage ?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
Sign In or Register to comment.