Game Development Community

[Solved] iT2D 1.5.1 preview BUG: Games display incorrectly on iPad 3

by Conor O'Kane · in iTorque 2D · 07/05/2012 (1:15 am) · 6 replies

Platform: iPad 3

Games display correctly upon first loading, however when you load a new scene the game displays in only one quarter of the screen.

In the image below the exact same app is running on an iPad 3 on the left, and an iPad 1 on the right.

i.imgur.com/jWXkF.jpg
On the iPad 3 you can see the word 'tutorial' displayed at the bottom - this is the 'Loading Tutorial' text which displays when the previous scene ends, and it is not overdrawn once the new scene starts.

[edit] - Found a solution. Adding setCurrentCameraPosition(0, 0, 1024, 768) on both the main scenewindow and the second gui scenewindow makes them both draw at the correct size on iPad 1 and on iPad 3.

#1
07/05/2012 (1:30 am)
[edit - removed rant about Torque not working]
#2
07/05/2012 (2:00 am)
Isn't this one of the main fixes for 1.5.1?
#3
07/05/2012 (3:51 pm)
@Conor - This is exactly why I haven't used any new iTorque since a long time.

I don't want to sound like a broken record but GG really needs to rethink their approach to iT2d. I also agree that GG is supposed to be a 'professional' software company... sure doesn't seem so since Brett Seyer left.

Anyway back to your problem. This is just a guess but that looks like maybe something to do with the retina content scale factor?
#4
07/06/2012 (6:39 am)
Found a solution. Calling setCurrentCameraPosition(0, 0, 1024, 768) on both the main scenewindow and the second gui scenewindow makes them both draw at the correct size on iPad 1 and on iPad 3.
#5
07/06/2012 (8:52 am)
@Conor, That's what we do.

@Johnny, what will we do when the iPad Mini and the iPhone5 launch :(
#6
07/06/2012 (11:26 pm)
@Scott - Use Scott's super modified iTGB 1.xxx engine.