iPhone Development
Moderator: Coders of Rage
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
iPhone Development
Hi, I'm starting with iPhone Development. I know most of you guys are making stuff for windows, but maybe there are some Mac guys. Does anyone know a good 2D graphics library for the iPhone? I've heard of cocos2d, but I don't want some complex stuff with scenes and directors and layers, all I want is to apply surfaces like in SDL, and whatever comes last is on top. All I need is graphics because I can handle touches easily with UIKit.h. Any help?

Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: iPhone Development
There hasn't been an SDL port/Obj-C version for iPhone yet?
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: iPhone Development
There has, but the OpenGL section of it can't be released due to NDA from Apple(blame them). It was done in the GSOC '08 I think.GyroVorbis wrote:There hasn't been an SDL port/Obj-C version for iPhone yet?
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
Re: iPhone Development
Yes, it has been released, I emailed the creator, and apparently iPhone 3.0 firmware doesn't work with it... Something about OpenGL's video being different. The creator says he doesn't have the time to fix it, sadly.

Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Innerscope
- Chaos Rift Junior
- Posts: 200
- Joined: Mon May 04, 2009 5:15 pm
- Current Project: Gridbug
- Favorite Gaming Platforms: NES, SNES
- Programming Language of Choice: Obj-C, C++
- Location: Emeryville, CA
- Contact:
Re: iPhone Development
Why don't you use OpenGL ES? They have sample code off of the Apple Developer site: http://developer.apple.com/iphone/libra ... /OpenGLES/
Current Project: Gridbug
Website (under construction) : http://www.timcool.me
Website (under construction) : http://www.timcool.me
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: iPhone Development
they use that for the PS3 too interestingly...Innerscope wrote:Why don't you use OpenGL ES? They have sample code off of the Apple Developer site: http://developer.apple.com/iphone/libra ... /OpenGLES/
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: iPhone Development
Sony's consoles don't use off the shelf OpenGL ES it's a custom version(which doesn't even use the names like glTranslate closer to sceGuTranslate(PSP func)). Now if you're talking about making stuff in linux on the PS3 it would use a more standard version of GL.davidthefat wrote:they use that for the PS3 too interestingly...Innerscope wrote:Why don't you use OpenGL ES? They have sample code off of the Apple Developer site: http://developer.apple.com/iphone/libra ... /OpenGLES/
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
Re: iPhone Development
Yeah, I've tried OpenGL ES. I'd just like the process to be simpler because I have tried for hours on end just to set up a simple landscape orthagonal 2D viewport to no avail. After that, I understand how to rotate, texture, and size sprites(I call them sprites but they are really triangle strips with images on them).

Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: iPhone Development
Of course. It's the same with Dreamcast. the PowerVR architecture (same family of graphics chip in DC and iPhone) was designed to handle only triangle strips (extremely effing efficiently). So you render two in a 'Z' fashion. Make a function do that, it should take like 10 extra seconds.ibly31 wrote:Yeah, I've tried OpenGL ES. I'd just like the process to be simpler because I have tried for hours on end just to set up a simple landscape orthagonal 2D viewport to no avail. After that, I understand how to rotate, texture, and size sprites(I call them sprites but they are really triangle strips with images on them).