How to adjust your app to different devices?

LordTarantorLordTarantor Member, PRO Posts: 890

Hi everybody:
I been looking for a tutorial or a template that explain what you need to do so your app look good on any device and doesn't leave anything outside the screen.

Comments

  • colandercolander Member Posts: 1,610

    There has been a lot written about this and there is no one size fits all and I don't see how there ever could be. There are God knows how many resolutions then through in portrait and landscape along with all the different types of games and there is no way a one size fits all could be made.

    My first game Kicka I jumped straight in and wrote it in iPhone 4 res because I have an iPhone 4. Big mistake I now have two binaries for Apple one for iPhones in overscan one for iPads in overscan and one binary for android in letterbox.

    My second game Shooting Food I thought a lot more about it and designed the game with a universal binary in mind. I used iPhone 5 in landscape and kept all the game play within the screen area which when in overscan on an iPad fills the screen. This fits well with my game as the player is shooting food on the shelves. On an iPhone there is an overhang area where the player can't shoot and can't be seen on an iPad. This looks and works fine for my game.

    So I have one binary in overscan which can be published for all the different devices.

    I don't know what your game is but I don't think Apple will accept game in letterbox so you will have to design your game with overscan or stretch in mind.

  • LordTarantorLordTarantor Member, PRO Posts: 890

    @colander‌
    Thanks a lot, I know there is a lot written about this and I has been trying to work with some of it but I think I just found what my problem is.
    The instructions that I have found include the CHANGE ATTRIBUTE: Current scene.
    For some reason my CHANGE ATTRIBUTE doesn't give me that option. It just have GAME, DEVICE & ACTOR.
    Why is this???

  • colandercolander Member Posts: 1,610

    You can only access Current Scene in an unlocked instance of the actor on a scene. Drag an actor onto a scene double click it to open it then click the padlock to unlock it and the you can access Current Scene.

  • LordTarantorLordTarantor Member, PRO Posts: 890

    lol!!!!!!!!!!!!!!!!
    Wow colander, where were you 7 hours ago?????
    That was my mistake...
    Thanks a lot

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Here is a template for universal binaries. http://forums.gamesalad.com/discussion/53670/new-universal-build-method-iphone-4-iphone-5/p1
    You can also use the stretch feature in the nightly and Release Candidate builds for automatic resizing, this can cause actor stretching though.

Sign In or Register to comment.