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 / Tier 2 Xcode : Screen Size bug

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th May 2012 19:52
Hello boys,
in the TIER 2 in Xcode on iPhone / iPod / iPad the screen result stretched into center in a strange way.
I switched back to Version 1054 or i can't continue to work.

Anybody else found this bug or i'm the only one here to work on a Mac in native mode?

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 7th May 2012 14:12
Nobody???
Lee you tested this thing on MAC?

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 7th May 2012 14:36
is the problem happening on ios or macos?
Baraka
12
Years of Service
User Offline
Joined: 4th Feb 2012
Location:
Posted: 7th May 2012 16:06
Hi,
i'm using T2 both in Windows and Mac and also for iOS, what kind of problem exactly you have ? I have a virtual res of 960x640 and it seem to work fine on simulator or device.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 7th May 2012 17:44 Edited at: 7th May 2012 17:45
I post an image using agk::SetVirtualresolution(640, 960)....


if i change the portrait mode it remain the same with the borders and stretched.
Damn!!!!

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 7th May 2012 18:05
And another bug too, very big bug....
The touch don't work.
I'm very sad, very very sad.
My only chance is version 1054.

My system:
Mac os x Lion 10.7.3
AGK 1054 work perfect.
AGK 1071 build fine but sretched and touch don't work anymore.

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th May 2012 18:31
It looks like the XCode template has been modified to be a landscape app whilst AppGameKit thinks it is a portrait app. If this is the case a simple SetOrientationAllowed(1,0,0,0) should fix it (this turns off the AppGameKit rotation so the device can take over).
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th May 2012 19:13
I just installed v1073 on my Mac and rebuilt my iOS apps. And the touch worked fine on both my iPad and iPod Touch.

In Windows, a single tap didn't work. But swiping my finger across the touch points did register as a touch.

Cheers,
Ancient Lady
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 10th May 2012 03:52
Hi Paul, i use as the first function in all project:

SetOrientationAllowed(0,0,0,1);

He rotate to landscape left as always but stretch the screen.
I will test the 1072 tomorrow starting from a clean project with the new template.
As you said that the template is now different.

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 24th Jun 2012 20:50
Ok i'm testing 1076 to help the team to solve and to help newcomers.
How to use the fixed orientation with 1076:

Choose 2 Orientation from the Xcode Info Panel (if you need potrait choose Portrait up/down or if you need landscape choose landscape left/right)
Always choose 2 orientations!!!

Than in the UntitledViewController go to edit and allow the 2 orientations.
Now you are done.

I read that is for the apple rejection on fixed orientation.


iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic

Login to post a reply

Server time is: 2024-11-23 17:04:25
Your offset time is: 2024-11-23 17:04:25