stretch, over scan, & letter box problem.
http_gamesalad
Member Posts: 1,340
I recently realized that my app looks warped on other devices. I have this app & the name of the app is Flop Drop it's currently on the apple iOS market only.. the game is based of balls basically & the balls are supposed to look round. I download the of onto my friends iPhone 5s & the balls look more oval than round. & I don't really understand why it'll do that. I used the stretch feature for my app. & the project size is ipad & that actors are double the size as they need to be . So I don't understand why the balls will look oval rather than round. It's not like iPhone 5s screen is bigger than than the iPad screen.. so I don't understand why gamesalad would warp it & distort it.
BUT the balls look perfectly round on my ipod
4 gen
Comments
@http_gamesalad It's because the screen ratios are different. Ipad is 4:3, and iphone 5,6 is 16:9
yea as @AJaymz said, you are stretching an image that is 4:3 to 16:9, happens with moveis and tv shows as well:
Letterbox is the best way, but apple does not allow letterbox apps on the iPhone, only iPad.
Overscan is what I use, but you have to plan from the beginning to support it.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@AJaymz @jonmulcahy how would I change my it so it fits Overscan? I tried overscan but some of the screen was cut out.
you'll need to have some code that either:
repositions the objects on the screen based on the detected resolution, there are some tutorials on this in the forums.
make your own custom black bars. I have this semi-tutorial here about it
http://forums.gamesalad.com/discussion/60342/manually-creating-custom-letterboxes-get-rid-of-those-black-bars
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@jonmulcahy so if I do exactly what you did in the thread it should solve this problem?
it will stop the streching, yes. it's not easy though, it's going to take some trial and error to get it right.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@jonmulcahy how do I find scene.camera.origin.y
scene.camera.origin.x
scene.camera.size.width
scene.camera.size.heigh
I'VE BEEN LOOKING EVERYWHERE IN ATTRIBUTES DROP DOWN MENU. All I see is Device.
No scene.
You have to use a unlocked actor on the scene.
WHY would you use that image?
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Probably just screen capped his screensaver for a quick example.
Fortuna Infortuna Forti Una
It was a image I found on Google. Couldn't resist
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@Lovejoy @jonmulcahy
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
@jonmulcahy Do you know if I would have to do it for all the iOS devices? Like All the ipod touch & iPhone gens?
You might be able to get around it with just a single rule, but more than likely you'll need a few different rules to adjust the camera. you check what the device.screen.width and height are and from that you can tell the type of device and adjust the camera accordingly.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@jonmulcahy which ones do you usually do?
for my universal apps I target every iOS device resolution
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@jonmulcahy
Okay so you do resolution for all the ipod touch , iPhone , & ipad gen? Would you mind telling me all the resolutions you use?
@jonmulcahy any example file plz...
I don't have one. I'll try to put one together, but I'm wrapped up in porting some apps to the fire tv. It'll take awhile.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
@jonmulcahy Thank u
@jonmulcahy Question what does iPhone Legacy Portrait cover? Is it only iPhone 4s and iPhone 4 .. or does that also cover iPod Touch 1,2,3,4, and 5 gens and iPhone 1,2, and 3 gens?
Have a read of the instructions in my signature for an in-depth explanation of the overscan method.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template