Universal Binaries Question

Hey all, I was hoping to get some help on my latest project.

I have created a game in Legacy iPhone Landscape, and am trying to convert it for use with an iPad. What I currently have reads as follows:

I have Resolution Independence checked.

A "dummy scene" called Universal_Binary_Check. In this scene tehre is an actor that has the following rules:
If game.Screen Width = 480, then:
Change Attribute - game.iPhone (Boolean) to True
And Change Scene to iPhone_Main Menu

If game.Screen Width = 1024, then:
Change Attribute - game.iPad (Boolean) to True
And Change Scene to iPad_Main Menu

Each actor in each scene has rules that tell it which image file to use based on which Boolean is true (iPhone/iPad). As far as this goes the only difference with the image file is original resolution sizes (bigger for iPad, smaller for iPhone).

The iPhone_Main Menu is setup at the default (Size: 480 x 320, Camera Origin: 0 x 0, Camera Size: 480 x 320, Camera Tracking Are: 400 x 240).
The background image is 480 x 320, and all of the buttons are various sizes.

The iPad_Main Menu is setup at Size: 1024 x 768, Camera Origin: 0 x 0, Camera Size: 1024 x 768, Camera Tracking Are: 400 x 240.
The background image is 1024 x 768, with the various buttons being doubled in size from the iPhone versions, and moved into the correct locations.

The iPhone version works fine on iPhones 4S and below (it gets black bars on the left/right for iPhone 5; I'm ok with this at this point).

The iPad version is cutting off the left and right of the screen. I have no idea why. I have searched the forums and read all of the pertinent posts I could find, and watched numerous videos. Nothing seems to be helping.

Can anyone think of what I am doing wrong here? Any help would be greatly appreciated!

Comments

  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    The same thing happens on my arcade games too. I'm not sure why but you aren't doing anything wrong from what I can tell.
  • LSGamerLSGamer Member Posts: 13
    Hrrmmm.

    So, this is working as intended? This can't be right.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited March 2013
    Have you taken a look at the projects I've put up?

  • WingmanappsWingmanapps Member Posts: 458
    ive had success using constraints instead of change attributes - did not really hurt my performance
  • LSGamerLSGamer Member Posts: 13
    Thanks for the feedback guys.

    @Braydon - Your template's did the trick! Awesome! Thanks a ton!
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Glad I could help. :)

  • glyniusglynius Member Posts: 231
    Have you taken a look at the projects I've put up?

    Hey @Braydon_SFX , how to add to this the setup for NOOK and Kindle landscape? i am a little confused.
Sign In or Register to comment.