iPhone 5 to iPhone 4 question

mi1ezmi1ez Member, PRO Posts: 18
edited July 2013 in Working with GS (Mac)
Good news-- after two months, I have finally finished my first game! While I am very eager to submit to the app store, I want to make it available on the iPhone 4 as well (and have it take up the entire screen). Basically, I want to just cut off only the top part of my portrait game when converting it to iPhone 4. I've looked at many universal build threads, but couldn't find the answer I am looking for. Thanks in advance for any suggestions!

EDIT: I would also move down the score and pause button when cropping out the top part of my game.

Comments

  • LooseMooseLooseMoose Member Posts: 224
    edited July 2013
    when you're previewing your game in GS have you changed the screen size to iphone legacy and clicked crop to see how it would look?

    To make overscan only crop off the top of your game, put an unlocked actor in your scene and inside it make a rule:

    When scene.camera.size.height = 480
    Change attribute scene.camera.origin.y to -44
  • mi1ezmi1ez Member, PRO Posts: 18
    @LooseMoose Doesn't work :/ It still looks like it is cropped in the middle plus all of the actors get squished
  • LooseMooseLooseMoose Member Posts: 224
    Can you attach a photo of your rule?

    It shouldn't squish anything since it's just moving the camera view down, I tested it and it worked for me to crop the top of screen.
  • mi1ezmi1ez Member, PRO Posts: 18
    @LooseMoose I selected Legacy iPhone Portrait in the project info tab and it works now :) Before I had the iPhone 5 portrait selected in the project info tab and switched it in preview mode, which cropped it differently. Do you know why this is?
  • mi1ezmi1ez Member, PRO Posts: 18
    And also, could I do the same thing but for switching from iPhone to iPad? Sorry for asking so many questions, I'm a noob at this
  • LooseMooseLooseMoose Member Posts: 224
    edited July 2013
    If you want your game to work with the iPhone 5screen size keep the iPhone 5 selected in the project info tab.

    When you test your game in GameSalad with the preview button, up the top left you will see a drop down list, select iPhone legacy, then another drop down list will appear, click crop in that one. I have attached a photo of what it should look like.

    If you can attach some photos of your problem it will be easier to figure out your problem.

    As for your question about iPad, it is better to start your project as an iPad one and have it scale down to iPhone. If you make an iPhone game then scale it up to iPad the graphics will be blurry.
  • MantoManto Member Posts: 796
    edited July 2013
Sign In or Register to comment.