User Tag List

Page 2 of 7 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 62

Thread: Scaling for iPhone 5 and iPad - HOW TO DO IT RIGHT

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    paobrasil - Problems?
    Well, your condition X RIGHT FRAME = 960 will run every game loop, rather than just at the start (unnecessary IMHO). As for the position, it depends where your Hot Spot is on (Your Object), eg top left, centre, etc. If it's top left then part of it will be off the left of the screen by setting it to -50. DistantJ's example using X Right Frame - 50 is to make sure that HUD elements on the right side of the screen aren't clipped.

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Also if using Method 2, "X Right Frame = 960" will only work on iPad and iPhone 4S or earlier, the event won't trigger on iPhone 5 since X Right Frame will be 1136.
    In Method 2 it'd be even less accurate as on iPad X Right Frame would then return 854.

    It's better to just set the position to X Right Frame - 50 at the start of the frame.

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AyreGuitar....I understand, thank you for the tip....so...if I just add "Start of Frame" before "X RIGHT FRAME = 960" this loop problem will be solved

    DistantJ, this is my intention, because my buttons it's positioned in 1136 iPhone 5 resolution by default...then when the app detect iPad and iPhone 4S or earlier it reorganize the X positions of these buttons.....seen to be working fine in iOS Simulator...

    thank you very much my friends

  4. #14
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Scaling for iPhone 5 and iPad - HOW TO DO IT RIGHT

    Ah yeah... You might consider changing it to "X Right Frame < 1136", that way it future proofs it against any other devices that might show up and readies you for the Android exporter for 16:10 phones etc.

  5. #15
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DistantJ - I'm trying what you said for Method 2 (a 960x640 screen with a 1146x768 frame) and displaying the Y Bottom Frame on screen and it shows 720 on an iPad.
    I think this is because 960*(768/1024)=720, ie the frame on iPad is 960x720, so I'm thinking that my frame only needs to be 1146x720?

  6. #16
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yeah, good point AyreGuitar, yes, it should be 720. My mistake.

  7. #17
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    2,994
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Great article DistantJ, thank you! I can't use either method for CrazyCrab, so iPhone5 users will see black bars to the left/right.

  8. #18
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Scaling for iPhone 5 and iPad - HOW TO DO IT RIGHT

    Quote Originally Posted by Olivier View Post
    Great article DistantJ, thank you! I can't use either method for CrazyCrab, so iPhone5 users will see black bars to the left/right.
    Ah yes, you have the character wrapping around the screen don't you? What I would suggest if you want a professional look is to use Methos 2 and add a border. However I believe CrazyCrab didn't work out for you so unless its performance has improved I'd instead focus on bringing this feature to your next project :-)

  9. #19
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch MakerUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2012
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What happens if the app is set to 1024x768 and the frame is 1146x720 with method2?

  10. #20
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Scaling for iPhone 5 and iPad - HOW TO DO IT RIGHT

    Quote Originally Posted by SevenSails View Post
    What happens if the app is set to 1024x768 and the frame is 1146x720 with method2?
    It'll match the height, so it'll be 1024x768 on iPad (double that on iPad 3&4) and it'll shrink down to fit the height of the iPhone and then show the rest of the frame on the right.

Page 2 of 7 FirstFirst 1 2 3 4 ... LastLast

Similar Threads

  1. iPhone/iPad App Thing...
    By XStar in forum iOS Export Module Version 2.0
    Replies: 16
    Last Post: 2nd October 2012, 11:12 AM
  2. iPhone/iPad App Thing...
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 1st October 2012, 12:59 AM
  3. Idler - iPhone/iPad
    By seccia in forum iOS Released Games & Apps
    Replies: 0
    Last Post: 25th March 2012, 09:14 PM
  4. iPad/iPhone
    By Jeff in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 28th December 2010, 03:50 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
  •