Where can I find an explanation of the Universal Binaries setup.

StormyStudioStormyStudio United KingdomMember Posts: 3,989
Hello all.

I've been scouring the GameSalad search function, forum and Google to get a basic run through of the Universal Binaries setup.

I've check out the GShelper video... which is good... is that still the best way to use Universal binaries.

I can't find an official run down of the tool in any searches, or in the help section.

If anyone can point me in the direction of the info that would be great.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Hi Jon,

    The video I recorded on GSHelper was an easy way to get your project to work on any device. It stretches a bit, which is why it might not be the best way to go - especially if you have a more complex game.


    On my iPad now and don't have a lot of time at the moment, but I thought I'd kind of give you a rundown of what you might look in to :

    I would change the screen size of the project to fit your desired device. Make your background large enough so that no matter what size you turn to, it doesn't need to be resized. I wouldn't stretch the actors - but instead change their overall size and position.

    So if the crop was to crop off the top and bottom of the screen, I'd most likely want to move my top actors down a bit - so they can still be seen after the crop action has taken place.

    If I started with an iPad project, and went to an iPhone size, then some of my actors would need to be resized.

    Anyway, very vague description above. Ill see if I can get you a more descriptive post when I have time...


    Hopefully this points you towards the right direction, though.

    Bray

  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    Thanks Bray.... your few pointers in the right direction are great....

    It's just handy to have a bit of direction on it since its quite key to how you go about starting a fresh project.

    I'm sure there's an official run down of the setup somewhere... but its hiding out there in the ether.

    Thanks mate, much appreciated

    Jon
  • UtopianGamesUtopianGames Member Posts: 5,692
    edited May 2013
    We're looking at a tool ATM that does all the hard work for you but you really have 2 options, use my camera manipulation code or change the position and size of every actor.

    Gs default UB is IMO not worth while.

    Darren.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    @DeepBlueApps.com thanks for the reply.... does your manipulation code hit the same problem as BraydonSFX's setup, where the actors become slightly squashed in a certain situation e.g. iphone 5 Portrait.

    A link to your camera manipulation code would also be cool, I did again do a search for this, and checked through DeepBlueApps website but could'nt find it... I do how ever now have a brand new son (8 days old) so my mind is running at about 20% (you may or may not remember but I started posting things on the forum during my paternity leave with my first daughter 3.5 years ago... it would seem that time flies when your a stressed indie developing parent)
  • BoomshackBarryBoomshackBarry Member Posts: 712
    edited May 2013
    @stormystudio I don't think there is an official setup about this. I remember when SSS posted the release notes for the update that introduced universal builds (can't find it right now) he stated that it would be down to the users to decide how best to go about designing to fit each target iOS device from the one project, but that they'd probably recommend starting with an iPad sized project. This is from memory but it's pretty damn close to what was said.

    edit: Just saw your post above mine, congrats - we're just expecting our first child this October, all the best!
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    @beefy_clyro thanks mate... been a busy 12 days... life with 2 kids does seem to sap away alot of energy, time and money... but he's a very cool little bruiser named Dexter..
  • UtopianGamesUtopianGames Member Posts: 5,692
    edited May 2013
    http://forums.gamesalad.com/discussion/53589/universal-build-tutorial-with-project-file#latest

    Yes it does squash the actors slightly but I still found it better that he gs default.

    I did the maths and Braydon did a video for gshelper.

    I have not tested the following out with a commercial release but another user posted an iPad to iphone demo that changes the actors positions and sizes in each actor that seems to work better than my method on 1st glance but I'm not sure what it would be like if you have 50 plus actors on the scene because I haven't tested.

    Wayne will most probably write a free tool that adds the rules and changes the size and position of every actor.

    I always start my games in iPad now if that helps.

    Darren.
Sign In or Register to comment.