iTorque 1.5: Weird behavior of scene object's size in portrait mode
by An Nguyen · in iTorque 2D · 07/06/2012 (11:39 pm) · 0 replies
Hi all,
I tried to setup a new project in portrait mode, but saw some weird things:
1/ I create a background as a scene object in script when level loaded, if I set the size as 320x480, it renders incorrectly on iPhone simulator. But if I set the size is 480x320, then it shows up correctly. Since the orientation of my app is portrait so the size would be 320x480?
2/ I created another scene object after the background above, the object size is 38x38 but in order to have it rendering correctly, I must set the size as 38x19. If I keep the size as 38x38 then the height of this object is doubled.
Any helps appreciated.
I tried to setup a new project in portrait mode, but saw some weird things:
1/ I create a background as a scene object in script when level loaded, if I set the size as 320x480, it renders incorrectly on iPhone simulator. But if I set the size is 480x320, then it shows up correctly. Since the orientation of my app is portrait so the size would be 320x480?
2/ I created another scene object after the background above, the object size is 38x38 but in order to have it rendering correctly, I must set the size as 38x19. If I keep the size as 38x38 then the height of this object is doubled.
Any helps appreciated.