Need Help with iPhone 5 Resizing

Hello all,
Ok here's the situation: I've been away from GS for a little over a month, and missed the iPhone 5 craze. I'm back to working on a game I started, and I recently started testing it out on my new iPhone 5 (which I've never tested on before). The first thing I notice is that even though in GS I changed the game and scene sizes (as well as the camera and tracking area sizes) to 640x1136, there are still black bars at the top and bottom of the screen (my game is in portrait).

I have done a lot of digging, but my mind is so fried right now I need someone to explain how to make it sized correctly on a windows machine.

I think that's why I've had so much trouble finding an answer...

Just to be clear:

I'm running Windows 7
I'm trying to make it work on an iPhone 5,
GS version: 10.00
Game was originally created for legacy iPhone :(

Any help in this matter would be greatly appreciated!!!

Comments

  • andrewm2211andrewm2211 Member Posts: 341
    I am in the same situation, let me know if you figure it out.
  • JN38JN38 Member Posts: 57
    The quickest, easiest, fastest thing I can come up with is DeepBlue's resizer.

    http://www.deepblueapps.com/category/gamesalad-tools/

    Two options - free and paid. You can target your device that you want to resize for.
  • kinzuakinzua Member Posts: 554
    You got to check out the tutorials on overscan.. Nevertheless.. u can detect iPh 5 by checking through.. devices.screen size.height.. when you do so.. change the camera width x ht to 378px X 568 px.. in overscan mode.. and you'll have a full screen app. Try it out.
  • mrpacogpmrpacogp Member Posts: 400
    edited January 2013
    Its too easy:
    http://forums.gamesalad.com/discussion/32594/resizing-to-ipad-technique/p1

    After that, if you have make it for 480x320 you can find the new proportion by this:
    480/568= 1,1833333

    Create a new rule:
    if device screen = 568 then iphone5 is true and fantastic!
    Do postionx to positionx1,183333333 (do that for any actor you want to move)
    Do selfsize width x selfsizewidt x 1,1833333 (do that for any actor you want to resize)
    Create a group custom and drop it for each actor you need it.

    You can assign 1,1833333 to gameSxi5 or something.
    At start of your game, a previous home screen that do:
    if i5 is true, change game size to 568x320

    Well, the only problem that could be is when you have finished your project and have alot of actors customized on each scene...
    Then you cant go to each actor and drop your custom behavior to resize to i5 or ipad or droid... You have to do it manually for each actor in each scene...

    I have to find a way on this situation.



  • mrpacogpmrpacogp Member Posts: 400
    In other order...
    I have made my game to resize it to ip5 and ipad with that rules...
    But what do you do guys for adapt it to android? There is alot of screen sizes and... maybe is better working with :if screen size > 480 use i4, if <480>568 use i5 or anything like that really?
    Well, i have my project stop it, i dont want to make more scene before to solved that and run my project on most common devices...
  • mrpacogpmrpacogp Member Posts: 400
    edited January 2013
    Hmmm i have an idea:

    If you have create your game to size 480x320
    Create two rules, like other thread:
    At first scene:
    GameSx
    GameSy
    Change attri: GameSx= 480/Device.Screen.Width
    Change attri: GameSy=320/Device.Screeen.Width

    Change Game Size to Device Size


    For each actor:
    Self position X to positionx*GameSx
    Self position Y to positiony*GameSy

    Same for size?
    Could be i have found an universal resizer?

    Well i`m testing that and is working for ipad and i5/i4

    One more thing:
    If size is 32x32 i use selfsize width x gamesx and self size height = selfsize width, because when you change to ipad the actor is deformed:
    If size is like 64x32 self size width x gamesx and self size height = selfsize width*2

    But, all of this, dont is a extra work for device?
    I have tested and works fine. But cant test on all devices...
  • manueljoshuamanueljoshua Member Posts: 3
    The quickest, easiest, fastest thing I can come up with is DeepBlue's resizer.

    http://www.deepblueapps.com/category/gamesalad-tools/

    Two options - free and paid. You can target your device that you want to resize for.
    @JN38 Thank you for the reply. I have already looked into this, however the resizer is not for Windows :(
  • manueljoshuamanueljoshua Member Posts: 3
    Hmmm i have an idea:

    If you have create your game to size 480x320
    Create two rules, like other thread:
    At first scene:
    GameSx
    GameSy
    Change attri: GameSx= 480/Device.Screen.Width
    Change attri: GameSy=320/Device.Screeen.Width

    Change Game Size to Device Size


    For each actor:
    Self position X to positionx*GameSx
    Self position Y to positiony*GameSy

    Same for size?
    Could be i have found an universal resizer?

    Well i`m testing that and is working for ipad and i5/i4

    One more thing:
    If size is 32x32 i use selfsize width x gamesx and self size height = selfsize width, because when you change to ipad the actor is deformed:
    If size is like 64x32 self size width x gamesx and self size height = selfsize width*2

    But, all of this, dont is a extra work for device?
    I have tested and works fine. But cant test on all devices...
    I will try this out, and let you know how it goes.
  • mrpacogpmrpacogp Member Posts: 400
    For me works, and for save the relation between size/height uses a custom rule.
Sign In or Register to comment.