IPhone development: OpenGL ES or Quartz 2d for a 2d game?
#1 Crossbones+ - Reputation: 944
Posted 31 May 2008 - 11:24 AM
#3 Members - Reputation: 226
Posted 31 May 2008 - 12:45 PM
#4 Moderators - Reputation: 7730
Posted 31 May 2008 - 01:15 PM
Quote:Nope.
Original post by Sijmen
I'd say OpenGL is your best bet, as you can count on it that it will get you all the hardware has to offer.
For some tasks, the added processing options that must be available in OpenGL means that the system cannot take advantage of specific hardware improvements for drawing a particular element.
The OPs question was about the performance of the library for a 2D game. All of them perform well. If the OP is concerned only with 2D processing, then there is a good chance OpenGL will perform worse than either Quartz 2D or the core (2D) graphics libraries.
#6 Crossbones+ - Reputation: 944
Posted 02 June 2008 - 07:43 AM
As I have a deadline then I am inclined to go towards the easier API. As long as Quartz (or the core 2d lib) is not significantly slower then OpenGL I should be fine. Since I assume that the 2d drawing APIs are hardware accelerated anyway, this is the responses I was expecting.
Thanks for the help, I will let you guys know how it goes :).
Edit: Oh and sorry for the delay in responding. I figured responses would be much slower on this issue.
#7 Members - Reputation: 275
Posted 03 June 2008 - 01:31 PM
I'm developing a 2D game for the iPhone using OpenGL and for me it's been a breeze so far. Of course, I'm just a bit more familiar with OpenGL than Quartz (but I have enough experience with Quartz to get my way around it).
#8 Crossbones+ - Reputation: 944
Posted 27 June 2008 - 09:28 PM
Here is a screenshot of my current progress:

It may not seem like a lot, but I have had to learn the Mac OSX, XCode, Interface Builder, Objective C 2.0, and OpenGL as I came from a PC, DirectX, and Visual C++ 2005 background.
I spent a long time reading through technical documents, NeHe tutorials, and looking stuff up on google in order to reach this point.
#9 Members - Reputation: 102
Posted 30 June 2008 - 03:09 AM
Quote:
Original post by shadowisadog
It may not seem like a lot, but I have had to learn the Mac OSX, XCode, Interface Builder, Objective C 2.0, and OpenGL as I came from a PC, DirectX, and Visual C++ 2005 background.
i too want to jump from ms to apple, is hard to work with iphone? the sdk is decent or not?, for example symbian is cool but is pretty tough to work with it.
And, do you buy a mac to work with it? i tried virtualization and is unusable.
Also, Unity3d will promise a lot.
#11 Crossbones+ - Reputation: 944
Posted 01 July 2008 - 06:16 PM
Quote:
Original post by eng3d Quote:
Original post by shadowisadog
It may not seem like a lot, but I have had to learn the Mac OSX, XCode, Interface Builder, Objective C 2.0, and OpenGL as I came from a PC, DirectX, and Visual C++ 2005 background.
i too want to jump from ms to apple, is hard to work with iphone? the sdk is decent or not?, for example symbian is cool but is pretty tough to work with it.
And, do you buy a mac to work with it? i tried virtualization and is unusable.
Also, Unity3d will promise a lot.
I received a Macbook to use the SDK and an IPod Touch (Combined total of around $1300 or so). To get your apps on the app store it is $100 a year so that brings the startup total to $1400. Not a bad investment if you are a professional developer.
Keep in mind though that you have to get accepted to the developer program in order to deploy your apps to the IPhone but I imagine that Apple will keep expanding the program as the sdk progresses in beta.
The SDK is not horrible to use but it takes some getting used to. I have made pretty good progress in around a week working with it full time.
#12 Members - Reputation: 124
Posted 14 July 2008 - 05:35 PM
Quote:
I received a Macbook to use the SDK and an IPod Touch (Combined total of around $1300 or so). To get your apps on the app store it is $100 a year so that brings the startup total to $1400. Not a bad investment if you are a professional developer.
Are you sure $100 is a year and not one off fee??
#14 Members - Reputation: 268
Posted 21 July 2008 - 03:10 AM
I'm with shadow in the whole going from Windows/Java/Eclipse to Mac/Objective-C/XCode platform and it's a huge shift all at once. I'm impressed you've gotten that much done in a week; I find XCode very hard to use at this point.
#15 Crossbones+ - Reputation: 944
Posted 28 July 2008 - 04:56 AM
If anyone is interested in the way I set it up (unfortunately I am prohibited from providing code) I rewrote Texture2D to be a general image class, I moved the drawing routines to a Graphics class, I wrote a widget manager and widget class and the graphics class gets passed to the widget draw methods. This design is because I am used to the PopCap framework and so I wanted to make my framework similar on both platforms. I plan to implement Vertex buffer objects in order to batch my sprites together for maximum performance.
#16 Members - Reputation: 283
Posted 04 August 2008 - 04:31 PM
I guess it's no wonder lots of pc game developers are porting their games onto the iPhone and not just previous mobile developers. It does raise the bar a bit.
#17 Crossbones+ - Reputation: 2419
Posted 04 August 2008 - 05:11 PM
Also just incase it is of interest to anyone Wolfgang Engel has an iPhone engine that I worked with a little and is pretty great so far: OolongEngine
#18 Members - Reputation: 100
Posted 04 August 2008 - 08:20 PM
The 3d part of the libary is just imagination technology's "SDK".
That SDK was to demo their technology and was never intended to be an engine, but it's a good starting point.
It needs a bit of extra work to make it into a real engine. I would expect a real OO class hierarchy (Imgtech use c style code), software skinning (the hardware skinning has a limitation of 9 bones) and replace the hardcoded 3d font completely.
#19 Members - Reputation: 122
Posted 23 August 2008 - 03:25 AM
Has anyone come across any code specific to the OpenGL ES for fonts/text? Ideally something written in Objective-C.
-- David
#20 Members - Reputation: 100
Posted 25 August 2008 - 08:27 PM






