Game Development Community

[SOLVED] iPad portrait in 1.5

by Pedro Vicente · in iTorque 2D · 11/26/2011 (6:57 pm) · 1 replies

iTorque 1.5
iOS 5
device iPad

This happens when running this project (done for 1.4.1) in 1.5

www.garagegames.com/community/resources/view/21169

www.space-research.org/games/garage_games/128729.png
It may be a similar issue of this

www.garagegames.com/community/forums/viewthread/128170




#1
11/26/2011 (7:42 pm)
oopsy, my bad.

The convention changed from "iDevice" to "iOS" from 1.4.1 to 1.5

from

$pref::iDevice::DeviceType

to

$pref::iOS::DeviceType

this is detected in CreateCanvas:

iDeviceType = Con::getIntVariable("$pref::iOS::DeviceType");

to initialize the window with the appropriate dimensions ( iphone, ipad, portrait or landscape )

so, no issue here