GS 0.9.1 Still Has Orientation Bug
Jel
Member Posts: 319
I update my game when 0.9 came out and it would not lock in correct landscape orientation on startup you have to physically rotate the device for it lock. For anyone playing the game for the first time it can be very off putting as it works with the accelerometer and tilting the device makes the ship move in the opposite direction.
Anyway I let the GS team know about the problem when 0.9 was released but it seems that the issue is still there.
See for yourself in the lite version - http://itunes.apple.com/gb/app/rescue-war-craft-041-lite/id361984140?mt=8
Anyway I let the GS team know about the problem when 0.9 was released but it seems that the issue is still there.
See for yourself in the lite version - http://itunes.apple.com/gb/app/rescue-war-craft-041-lite/id361984140?mt=8
Comments
I was served an add for PennyTalk Mobile in UK
Also if portrait lock is selected on the device the splash screen will rotate to portrait regardless of device position
___________________________________________________________________________________
BubbleBall Template HERE!!
AppSolute Entertainment on Facebook
But I downloaded your game and I see the problem.
Accelerometer x and y are mapped to the device physical orientation, not the game.
What you need to do is virtualize the inputs so that x and y are always correct regardless of orientation.
I do this:
When orientation = landscapeLeft
Game.tiltX = -accelerometer.y
Game.tiltY = -accelerometer.x
When orientation = landscaperight
Game.tiltX = accelerometer.y
Game.tiltY = accelerometer.x
(I may have my signs mixed up as I'm doing this from memory on my iPhone)