Need help with universal build please
VGX
Member Posts: 796
Could someone kindly show me how to make this test image fit iPhones and iPads please. The image was made for iPhone 5 screen size.
Thanks
Comments
@VeiraGames Here's one way I would do it. be sure to use stretch and reset scene when testing for each device in viewer.
I also change your image size to 1024x577 once I created actor which is same aspect ratio as 1136x640 that way it fit on iPad size screen and all others to.
You can also read more about how I do Universal Builds in my thread here.
http://forums.gamesalad.com/discussion/72589/universal-builds-for-ios-and-android-and-anything-else-using-ipad-build-and-stretch-no-distortion/p1
@BBEnk Thanks for the help but have a problem, this is before and after. Second image is all squashed after I hit the reset scene button.
I know I am using the overscan above but don't want to "stretch" my art. but either way looks like its still being stretched.
When testing the different views looked like I had to add more detail on the phones than on iPad but will make the game look even smaller on the phones.
@VeiraGames Using stretch is how it works, it doesn't stretch your art just the camera.
also when testing you must run the intro screen first that has the display detection stuff. see camSetup actor unlocked on each scene.
iPad version normal camera 1024x768.
iPhone6 version only the camera is now wider image is the same size, camera is now 1366x768. and 1366x768 is the same aspect ratio has 1334x750 iPhone6.
@BBEnk sorry for all the questions, the iPhone 6 scene has empty spaces on sides, top and bottom.
Do I need to add more art to those empty spaces because my concern is that the game will look small for the phones?
Thanks
You can but then those graphics want be visible on a iPad so make sure there's nothing that needs to be seen during gameplay.
The way my Universal Build works is the scene Camera adjust to the same aspect ratio has device it's on, so you will get space and it's not always the same amount of space. but never less then what you see on iPad.
@BBEnk is there a way I can have the first picture full screen on the iPhones like the first image and then add more detail on the iPad as it has a large screen so doesn't matter if the graphics look smaller because of the bigger display?
I don't mind paying you for your time if you can help me with this.
Thanks
You could change the image by detecting display size.
@BBEnk can you do something like this example below? If so I would like to pay you for your time.
@VeiraGames said:
I'm a bit confused. So you want to build your game on iPhone6 then have it all show on iPad but have extra detail in the blue area.
@BBEnk I can redo the art easily so it fits iPad. So imagine the blue area and the black image as one image.
and the red area is the iPhone area. Can you do this?
Thanks
@VeiraGames said:
It can be done you just have to zoom camera out, but I doing this by detect iPad size easy on Apple this might be quiet a task on Android since the phones have same resolutions as pads.
IPhone 6
iPad I added the Green area to show it's not letter box you can put graphics there also. what I did is change camera size to 1400x750 and offset the origins to center it all, and using stretch makes it fit iPad screen and look normal.
here's the File if you wan tot see.
If you wan to read up on overscan method read the instructions in my signature.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template