User Tag List

Results 1 to 4 of 4

Thread: Handling App Orientation???

  1. #1
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Handling App Orientation???

    Hi Folks.

    I'm working on a new iPad App and I want it to work with the orientation that the user is holding/mounted the pad at. I see the Accellerometor can get the orientation of the pad but I don't know how to work with this. For example, I can read if the iPad is Portrait, Portrait Upside Down, Landscape Left and Landscape Right. So do I have to create four frames of the same screen each showing the App screen at different orientations?

    Any input appreciated.
    KnightTrek Productions
    http://www.knighttrek.com

  2. #2
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    According to the orientation returned by the Accelerometer object you could adapt your game, like rotating the UI, reverse the gravity in a platfomer etc.. but this would be quite a daunting task.

    For the time being, MMF only allows you to build an application in Portrait mode OR Landscape mode, not both. If you choose Portrait (automatic) or Landscape (automatic), your app will automatically rotate according to the user's device orientation.
    I have asked if supporting Portrait AND Landscape simultaneously would be possible in the future:
    http://community.clickteam.com/showthread.php?t=78480

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, Olivier. I guess I can work with one orientation then. Thanks for the info on the automatic orientations.
    KnightTrek Productions
    http://www.knighttrek.com

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Supporting both orientations at once is something I would like to see happen for the iOS runtime but it is very complex to add into the existing runtime code.
    Quite a lot of the internal system relies on the window size which is assumed constant after the application is done launching.

    We improve the runtime all the time and it might be possible in the foreseeable future but I cannot promise anything at this point. I have to get back to you on that.

Similar Threads

  1. Session Handling using MMF
    By DJFuego in forum HTML5 Export Module 2.5
    Replies: 5
    Last Post: 11th August 2015, 06:12 PM
  2. Best Handling of HiScore
    By cds12345 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th November 2011, 07:13 PM
  3. Not handling decimals...
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th December 2008, 06:51 PM
  4. Unicode handling
    By thewreck in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd May 2007, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •