iDevGames Forums
Apple "OpenGL Game Template" - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Apple "OpenGL Game Template" (/thread-4032.html)

Pages: 1 2 3


Apple "OpenGL Game Template" - OneSadCookie - Aug 3, 2006 12:31 AM

New sample code posted today -- Apple "OpenGL Game Template"

http://developer.apple.com/samplecode/OpenGL_game_template/index.html


Apple "OpenGL Game Template" - OneSadCookie - Aug 3, 2006 12:45 AM

On quick review, we, the IRC channel, have decided that this template is complete rubbish. Use it at your own risk!


Apple "OpenGL Game Template" - aarku - Aug 3, 2006 01:02 AM

But no one has a better free one online anywhere, so it rocks by default.

OverTheEdge sells an excellent "OpenGL Game Template," however. *ducks and quacks*

-Jon


Apple "OpenGL Game Template" - OneSadCookie - Aug 3, 2006 01:09 AM

<cough>http://onesadcookie.com/svn/repos/GameShell</cough> Rasp


Apple "OpenGL Game Template" - aarku - Aug 3, 2006 01:29 AM

No Xcode project, no dice. Grin


Apple "OpenGL Game Template" - OneSadCookie - Aug 3, 2006 01:38 AM

Stick the source files in any Xcode project and you're done... it's not a library, it doesn't build anything useful.


Apple "OpenGL Game Template" - BeyondCloister - Aug 3, 2006 02:01 AM

I've not had a chance to look at the Apple stuff or the GameShell yet (not at home and MacBook dead), but do either of them use GLUT? The reason I ask is that I have seen mentioned on here numerous times that GLUT is okay but not for a commerical game.


Apple "OpenGL Game Template" - OneSadCookie - Aug 3, 2006 02:25 AM

No, both use Cocoa, as does SDL.

GLUT's unconfigurable preference dialog, lack of good screen resolution information, and limited keyboard and mouse handling really cramp it for a finished game. It's a bit easier to set up than SDL though, so it can be good early in the development cycle when quick results are more important than slick results Wink


Apple "OpenGL Game Template" - Skorche - Aug 3, 2006 02:52 AM

OneSadCookie Wrote:On quick review, we, the IRC channel, have decided that this template is complete rubbish. Use it at your own risk!

Wow, no kidding... No menus, and if you close the window it keeps running and doesn't respond to cmd-Q. Huh


Apple "OpenGL Game Template" - KittyMac - Aug 3, 2006 05:50 AM

OneSadCookie Wrote:On quick review, we, the IRC channel, have decided that this template is complete rubbish. Use it at your own risk!

Wow, that is absolute rubbish. If they entered a few uDG contests before they decided to become game developers, they'd have a much better sample.

Why the heck does ESC quit the application? Just because we write games, suddenly the human interface guidelines no longer apply?


Apple "OpenGL Game Template" - Duane - Aug 3, 2006 08:05 AM

I sense that there was a deadline and they were too close to it....


Apple "OpenGL Game Template" - Ingemar - Aug 3, 2006 10:52 AM

KittyMac Wrote:Why the heck does ESC quit the application? Just because we right games, suddenly the human interface guidelines no longer apply?
You mean "write", right?

I have become very sceptical to Apple's official sample code. It is often beginner-level code, not speaking of audience but of code quality. Every time I learn a new Apple API, the first thing I do is to write a better demo than Apple provided.

And human interfaces, that's a BIG problem in games. Many, many games insist on using 80's-style interfaces, wading through horribly clumsy menus. And quitting by ESC without asking is an absolute nono, and still I have seen it in commercial games.


Apple "OpenGL Game Template" - KittyMac - Aug 3, 2006 11:03 AM

Ingemar Wrote:You mean "write", right?

Fixed, thanks! Sneaky

Ingemar Wrote:And human interfaces, that's a BIG problem in games. Many, many games insist on using 80's-style interfaces, wading through horribly clumsy menus. And quitting by ESC without asking is an absolute nono, and still I have seen it in commercial games.

Which makes it all the more important that Apple provides good sample code. My point was we've had many uDG entries which display bad Mac programming practices, and that's usually the first feedback they receive.

Apple is supposedly taking a bigger stance with games at this WWDC, I hope they get it right.


Apple "OpenGL Game Template" - TomorrowPlusX - Aug 3, 2006 11:57 AM

OneSadCookie Wrote:On quick review, we, the IRC channel, have decided that this template is complete rubbish. Use it at your own risk!

Any particular parts which are rubbishy? "The whole thing" is not the answer I'm looking for Rasp


Apple "OpenGL Game Template" - Frank C. - Aug 3, 2006 01:34 PM

Well, switching to fullscreen results in a nice blank display for me. If Apple really wants to help game devs they need to do better than this. I hope yer all using those feedback links at the bottom of the page...