iDevGames Forums
iPhone to iPad conversion - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: iPhone to iPad conversion (/thread-8028.html)



iPhone to iPad conversion - Gillissie - Aug 24, 2010 11:30 PM

I'm trying to make an iPad version of my existing iPhone game. It uses OpenGL 1 based on the original OpenGL example code.

At first I had a problem with the frame buffer size not recognizing the full ipad screen res, but I seem to have figured that out by changing the view size in the xib file.

However, now when I run it in the simulator, touches are only registering in the lower-left corner (if holding the ipad with the home button to the right). I decided to try it on my device to see if touches would register everywhere, but doing that just crashes hard shortly after seeing the launch screen for my game. The debugger says "The program being debugged is not being run."

Is it really this hard to convert an existing game to iPad?

Thanks...


RE: iPhone to iPad conversion - headkaze - Aug 31, 2010 04:25 PM

Did you convert your app to a Universal Application?


RE: iPhone to iPad conversion - Gillissie - Sep 3, 2010 12:53 PM

No, I chose to make it two different apps because I want to charge a different amount for the iPad version.


RE: iPhone to iPad conversion - headkaze - Sep 4, 2010 07:14 PM

You can still "fork" your code into two separate projects.


RE: iPhone to iPad conversion - MattDiamond - Sep 7, 2010 08:30 AM

When I had this problem it was because I hadn't picked the right architecture (arm6 vs arm7.) Pull up the Info pane for your application under Targets, and make sure you are building for both architectures, or the correct one for the device in question. Also, if both architectures are specified, mind the checkbox that says "build for current architecture only".

For non-universal, you probably want to define a separate target depending on the device you are building for, to make it easier to switch between them.


RE: iPhone to iPad conversion - Skorche - Oct 9, 2010 08:16 AM

It's not converting the app for you in some magical way. Just making some of the data compatible so that you can use it on both the iPad and iPhone. The hard work still has to be done by you.


RE: iPhone to iPad conversion - Destriarch - Oct 12, 2010 06:39 AM

It's hard to say what's happening without seeing the code, but my guess would be that you've got some figures in your program somewhere that need to be converted to the new screen size. I don't know if this link will help much, but I found it very useful myself:

http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad