iDevGames Forums
OpenGL & native user interface? - 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: OpenGL & native user interface? (/thread-2104.html)



OpenGL & native user interface? - q2dm1 - Nov 26, 2008 11:42 AM

Hi,

I'm new to iPhone game development, so sorry if the question has been answered before.

I'm currently out of town and don't have access to my main dev machine so I can't really try it out, but basically what I'm wondering is if an OpenGL application is able to use the standard iPhone user interface for menus, setting screens etc. I don't have many games on my phone right now, but all of them seem to implement their own GUI - is this a restriction or are most people just not comfortable using the standard GUI for their games?

I'm asking this cause I've set up a cygwin ObjC environment on my WinXP laptop and would start developing my own OGL GUI in the remaining few days I'm away from home, but I wouldn't wanna waste my time either Smile

Any suggestions appreciated!


OpenGL & native user interface? - AnotherJake - Nov 26, 2008 08:43 PM

Yes, you can use standard iPhone GUI stuff, but there is a performance penalty for mixing OGL and standard OS GUI, so it is often preferred to do one or the other at any given time. Obviously, if you wanna do it in OGL you have to make everything yourself.