Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / iPhone 6 Resolution

Author
Message
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 15th Jun 2015 13:13
I am running my tier 2 app on the iPhone 6 and agk::GetDeviceWidth() is returning 1136 and agk::GetDeviceHeight() is returning 640.

The iPhone 6 resolution is 1334x750. Is this an agk bug or is it something in xcode that I need to address?

Could anyone with access to an iPhone 6 or 6 plus test this for me please, tier 1 or tier 2.

I am using agk 2.0.12 and ios 8.3, thanks.

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 15th Jun 2015 18:25 Edited at: 15th Jun 2015 18:26
I always use OBJ C to detect the device resolution.
Use my Template or give it a look to understand how to do.

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 16th Jun 2015 00:17
Thanks Gekko. The game is finished and needs to run on android and ios. I just noticed this problem testing on iPhone 6, much easier if I get to the bottom of this

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 16th Jun 2015 10:48
If you want to solve for iOS, you can see in the GekkoManager.cpp in the G_Init_Resolution function.
Good luck!

Login to post a reply

Server time is: 2024-11-25 21:53:16
Your offset time is: 2024-11-25 21:53:16