New Universal Build Method: iPhone 4 & iPhone 5

2

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Yah you found me!!!!

    And yeah the camera adjustment methods work either way. If you look at penguin glide every version on every AppStore out there is a legacy iPhone project with camera adjustments to fill the screen.

    Though if your gonna be a while before publishing you might as well wait with all of your extra camera work. GS has stated they are planning to add strech to fit as an universal build option. This negating all of the needed extra work.
  • VoidedSkyVoidedSky Member Posts: 1,095
    @iprasad and @dwibre

    Sorry it took me a bit to respond. I am out of town. As soon as I get back, I will whip up an iPhone 5 to IPad project. And @tenrdrmer is right. You can probably just wait for the stretch feature. But, if you don't want any change to your graphics, you might want to still do my method (or others). Anyways, I'll post the new project in a couple days.

    -Josh
  • VoidedSkyVoidedSky Member Posts: 1,095
    edited June 2013
    Per request, here is the iPhone 5 to iPad project.

    @iprasad

    -Josh
  • iprasadiprasad Member Posts: 40
    @VoidedSky , I really appreciate your help!
  • hambuerger7hambuerger7 Member Posts: 45
    @VoidedSky this really helps. Thanks, but I have one question.
    When publishing the universal build, do I check overscan or letterbox?
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    edited June 2013
    @VoidedSky
    Is there any way to get it to go from i4 to i5 without leaving the borders on the side?

    @hambuerger7
    Overscan will crop it to fit the device (With Resolution Independence checked) and letterbox will leave a box around the project.
  • hambuerger7hambuerger7 Member Posts: 45
    @bjandthekatz so i want to check overscan?
  • hambuerger7hambuerger7 Member Posts: 45
    Now, something is wrong with mine. Whenever I transfer the code and preview it, it doesn't function like the example @VoidedSky showed.
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    @hambuerger7
    If you have an iPad project and you want to make it a universal build, you would check Resolution Independence and Publish in Overscan mode if you want to make the full game fit the screen.
  • VoidedSkyVoidedSky Member Posts: 1,095
    edited June 2013
    @hambuerger7 Yes, you want to publish with overscan checked.

    @bjandthekatz You certainly can use this method to go from an iPhone 4 project to an iPhone 5 project. The code is in the original download at the beginning of this post. Go into "Actor 1" and you will see "UB 2 iPhone 4 to iPhone 5." Turn this code on, delete the other groups of code, and you should be set. Let me know if you have any other questions!
  • hambuerger7hambuerger7 Member Posts: 45
    Does the UB code need to go before all other code?
  • hambuerger7hambuerger7 Member Posts: 45
    Oh that's prbably why it wasn't working. Thanks
  • VoidedSkyVoidedSky Member Posts: 1,095
    Your welcome. Let me know if you have any other problems!
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Is there any way to go to from iphone 4, to iphone 5 and ipad?
  • jdigioiajdigioia Member, BASIC Posts: 10
    I just want to reiterate that this is the best method when dealing with iphone 4 and iphone 5 when you have already made headway down one path. Can't thank you enough!
  • fishbowl1fishbowl1 Member Posts: 54
    edited July 2013
    Can you use this for background images or just regular actors?
  • VoidedSkyVoidedSky Member Posts: 1,095
    Sorry, Been busy lately! Haven't been able to check the forums as often as I would have wanted to.

    @jdigioia Thanks for the shout out! I'm glad that some people are finding this useful! The method is a bit tedious, but it's less tedious than re-doing an entire game. I personally can't wait until GS cranks out a stretch feature. Don't know if I'll use it, but it will make things easy if you just want to focus on the newer devices.

    @fish.bowl Chances are, that your background image will be too small if you apply this method to it. I would do one of two things. 1: Make your background image adjust to a custom resolution when switching between devices. OR 2: make your background image larger than the actual size necessary, and then do not put any Universal Binary code in the actor. If the image is big enough, it will still occupy the entire device screen. This last method will only work though, if it doesn't matter where your background image is relative to your foreground images.

    Good luck!

    -Josh
  • JihadKawasJihadKawas Member Posts: 8
    how can i implement this in my GS game?
  • VoidedSkyVoidedSky Member Posts: 1,095
    edited October 2013
    @JihadKawas
    Basically, just download the GS Project File from my first post in the discussion. Open up the orange actor, and find the code labeled "UB 2 iPhone 4 to iPhone 5." You need to turn this code "on," and drag this into each individual actor of your game. This will create a Universal Build effect. Make sure you use "stretch" mode, and not 'letterbox" mode when previewing.

    -Josh
  • JihadKawasJihadKawas Member Posts: 8
    @voidesky Hello, I tried it, and nothing happened, it's turned on, and in every actor, I don't have the gamesalad pro, and have letterbox and crop, i chose crop, and still same thing, please any help?
    Thanks :D
  • JihadKawasJihadKawas Member Posts: 8
    @voidedsky Hello, I tried it, and nothing happened, it's turned on, and in every actor, I don't have the gamesalad pro, and have letterbox and crop, i chose crop, and still same thing, please any help?
    Thanks
  • VoidedSkyVoidedSky Member Posts: 1,095
    @JihadKawas, What do you mean nothing happened?

    The only time you see the changes is when you change the device in the GameSalad Preview. Have you done this?

    -Josh
  • raze_struckraze_struck Member, PRO Posts: 141
    im confused, I cant download the original file, its a image file that wont let me open it up or extract it. Sorry for being i guess remedial,but i need help. The very first post is exactly what I need. I have an iphone 5 landscape game done that needs to fit the 4
  • VoidedSkyVoidedSky Member Posts: 1,095
    @razmigma89@gmail.com

    You need to make sure you are logged in to the forums, and then you should be able to download the file just by clicking on it.

    -Josh
  • BonepileGamesBonepileGames Member Posts: 194
    I have a project set on iPhone Landscape. Is that for iPhone 5 or 4 or Legacy? There is no option like iPhone Legacy Portrait/Landscape. The scene size is 480x320.
  • wolala123wolala123 Member Posts: 249
    @BonepileGames iPhone Landscape is for iphone 5++, however, iPhone Legacy is iphone 4
  • BonepileGamesBonepileGames Member Posts: 194
    @wolala123‌

    I am using Gamesalad on Windows and there is no option for platform 'iPhone Legacy'. However, I have chosen iPhone Landscape and the camera size is 480x320, if doubled it is 960x640 which is the resolution of iPhone 4. Data taken from www.iphoneresolution.com . I think I am missing something.
  • DuesDues Member Posts: 1,159

    Any chance this could be changed so it works with the current GS version?

  • VoidedSkyVoidedSky Member Posts: 1,095

    @Dues‌ I just updated and tried it, and it seems to work fine... Make sure to use the "Overscan" option, and it won't work when the viewer is on 50%. What isn't working for you?

    @BonepileGames‌ What are you trying to do?

    -Josh

Sign In or Register to comment.