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 / MAC / IOS Resolution bug

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 17th May 2012 20:18
The bug continue on 1074, i tried everything and the result is always stretched.
If i try the example all is ok.
If i try my old projects it appear stretched even if i start with a new project template from 1074 and put all the files again inside.

What is changed on MAC/iOS Tier 2 for the resolution????

It seems always stretched to the half center.

I can't understand where i'm wrong...
Please help me or i need to continue to use old 1054.
Thx

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: 17th May 2012 21:01 Edited at: 17th May 2012 21:44
I confirm the bug is in the LIB file.
If i use the old LIB with new includes it work as expected.

Message to Paul and Lee:
Try to get an old 1054 project and run on the 1074 you will see the stretching thing on all the rotation method.
What added to 1.07 that is different for the resolution?

I'm using:

- allowed rotations (0,0,0,1)
- Resolution (960, 640)
- MAC OSx Lion (last update)
- Tier 2

For my luck i use the iOS Obj C to do some things instead AppGameKit, but i don't wanna start to think to buy another SDK as bugs i notice are never considered and i seem the only one coding in XCODE on a MAC for only iOS/MAC apps.

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: 17th May 2012 21:54
Gekko, I am using Xcode to code in iOS.

I Use your same resolution and I did not come across any stretching bug.

Also I would recommend using allowed rotations (0,0,1,1) not just allowed rotations (0,0,0,1) as apple might reject your app.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 18th May 2012 01:22
Please post your issue on the Issues Board (http://code.google.com/p/agk/issues/list) and provide a small project and step by step how we can reproduce and what we should be looking for. If we can get this confirmed by other users too, that would help us track down the cause, thanks.

I drink tea, and in my spare time I write software.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 18th May 2012 02:25
Thx Lee, i will send you a little project trough email.

Ehi BJ, have you changed something in your old projects when ported to 1.07 ?
There is something different in the new template?
I checked line by line and they seem the same.

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: 18th May 2012 03:15 Edited at: 18th May 2012 03:33
Ok after much hours of search, and thx to JB suggestions i found which is the prob...

WARNING:
Don't use this command in the "ViewDidLoad" but use it in awake from nib if you really need it!!!

EDIT: Confirm in AwakeFromNib can be used, AppGameKit will work!!!

But i found another bug.
When you exit from a different View (like Leaderboard) in animated mode, the RGB color change like a cycle to 0 and do a RAINBOW effect.

This happen only on the simulator.
On the devices is all ok.
Thx to Lee and Paul for the interest. I will update the issue in the bug report with the command i discovered is the prob.

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: 18th May 2012 09:31
Gekko I don't know if the 107 templates are any different from teh 106 ones, but I have rebuilt my projects from scratch using the new 107 templates
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 18th May 2012 15:39
Yes BJ i done the same.
I posted which is the problem and now is solved.
I also explained what to do if someone encounter the same problem.
Thx BJ.

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
apocolyp4
13
Years of Service
User Offline
Joined: 10th Jun 2010
Location:
Posted: 18th May 2012 20:14
Im having the same problem in tier 1 when testing my landcaspe game.

The app is displayed fine when I set the iphone project run in portrait mode within xcode though the iphones keyboard is displayed in the wrong orientation. When I set the game to run landscape mode in xcode the game is displayed squashed and streched just like xGEKKOx issue.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 19th May 2012 02:51
Hi Apocolyp4, if you need help add me on skype.
Everyone can add me.
Nick : xgekk0x
(the 0 is a zero)

iPhone/iPad Games/Apps : Street Karate Fighter - 90s VideoPokers Simulator - Ball VS Brick - CB RadioBox - Artic
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 19th May 2012 10:58
and I'm polomint77 on Skype,

Blackberry App Development & ZX Spectrum Game Development.
apocolyp4
13
Years of Service
User Offline
Joined: 10th Jun 2010
Location:
Posted: 19th May 2012 16:06
im apocolyp4 on skype.
apocolyp4
13
Years of Service
User Offline
Joined: 10th Jun 2010
Location:
Posted: 21st May 2012 00:21 Edited at: 21st May 2012 00:24
I fixed my orientation bug. First use SetOrientationAllowed(1, 0, 0, 0) in your tier 1 project

To make the tier 1 game use landscape correctly in IOS you need to open the UntitledViewController.m file and change


to


This allows your game to use the virtual keyboard correctly.

Login to post a reply

Server time is: 2024-04-27 13:47:12
Your offset time is: 2024-04-27 13:47:12