Unless I'm mistaken I think the iphone 5 is not available yet (pre-order only). This is what I've read :
The iPhone 5, however, has a 16:9 1136×640 display; it’s the same width as the iPhone 4/4S, but it’s 176 pixels taller. Rather than do something interesting with this space, though, Apple will simply letterbox all 3:2 apps — all 700,000 of them in the App Store. If you can believe it, you will actually get black bars at the top and bottom of the screen. Tellingly, there isn’t a single photo of what this letterboxing looks like on the Apple website.
But I don't know anything about the quality of the source.
I'm curious to know if the player will automatically return the correct height values etc for the new iPhone5 or if an update will be required?
Given that it's an 1136x640 retina display - will we need to code iPhone apps to support a 320x480 and 320x568 resolution and let the retina @2x scaling do it's magic?
WhiteTree Games - Home, home on the web, where the bits and bytes they do play! #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
I have tested the latest Gideros player app inside the iOS simulator set to iPhone 5. Using the latest Xcode 4.5 developer build which is the GM Seed.
It appears that Gideros automatically rescales to the new screen size and does return the right dimensions for the new screen yay. Looking in the player code it automatically gets the screen size and set's Gideros' GLView to that size so this should automatically work no matter what screen size. Also the scaling option set in Gideros (Letterbox, Crop, Stretch, etc..) takes effect. As long as the simulator works like the actual device, it should work fine .
@SimpleLoop Good to hear Gideros could handle it automatically (even only tested on XCode Sim). When new iPad released, we must update all of our games on appstore because of scaling error...
Thank you @atilim for coding Gideros in such an awesome way that this just works .
A quick reminder, as with iPhone 4 you will need to enable retina display to get the full 640x1136 returned by application:getDeviceWidth() and application:getDeviceHeight(). If retina is not enabled it will return 320x568.
@gorkem hahaha yes I realised and just as I was about to change it earlier my internet decided to cut off. The world seemed to get slightly darker for about 10 mins while we fixed it haha.
One small thing, while Gideros will scale for the new resolutions, if the elements are hardcoded, they will leave a 176 pixel blank below the 960 image.
Weird. I just installed the latest Gideros (2012.09.2) player on my iPhone 5. It does not use the whole screen. It has those two black areas at the top and bottom. Do I need to do something special?
Comments
This is what I've read : But I don't know anything about the quality of the source.
Likes: phongtt
Given that it's an 1136x640 retina display - will we need to code iPhone apps to support a 320x480 and 320x568 resolution and let the retina @2x scaling do it's magic?
Likes: phongtt
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
http://store.apple.com/us/browse/home/shop_iphone/family/iphone
Using the latest Xcode 4.5 developer build which is the GM Seed.
It appears that Gideros automatically rescales to the new screen size and does return the right dimensions for the new screen yay.
Looking in the player code it automatically gets the screen size and set's Gideros' GLView to that size so this should automatically work no matter what screen size.
Also the scaling option set in Gideros (Letterbox, Crop, Stretch, etc..) takes effect.
As long as the simulator works like the actual device, it should work fine .
Likes: phongtt, atilim, gorkem
Good to hear Gideros could handle it automatically (even only tested on XCode Sim). When new iPad released, we must update all of our games on appstore because of scaling error...
http://www.nightspade.com
A quick reminder, as with iPhone 4 you will need to enable retina display to get the full 640x1136 returned by application:getDeviceWidth() and application:getDeviceHeight().
If retina is not enabled it will return 320x568.
The world seemed to get slightly darker for about 10 mins while we fixed it haha.
Thanks anyway
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Do I need to do something special?