What's the best, erm, window handling thing?

Member
Posts: 185
Joined: 2005.02
Post: #1
Sorry for the ambiguous title, I don't know what to call it, but I'm talking about an API to handle window creation, managment, and keyboard and mouse input. I've been using GLUT, but I thought I check and see which is best. Thoughts?
Quote this message in a reply
Luminary
Posts: 5,125
Joined: 2002.04
Post: #2
Depends what you want. GLUT is simple, but probably not good in the longer term. SDL is not very mac-like. Cocoa requires you to hack around a reasonable amount of the built-in functionality to get what you want for a game. Carbon is incredibly verbose. GameShell has poor mouse handling in either windowed or full-screen, depending on your perspective (though if anyone can tell me what it *should* do, I'll be happy to fix it Smile )
Quote this message in a reply
Moderator
Posts: 1,140
Joined: 2005.07
Post: #3
If you just want a window (or full screen) and events, I'd say SDL is a pretty good choice. It's fairly straight forward, full featured (much more so than GLUT), and cross-platform. If you don't care about any "Mac-like" features, it's definitely the way to go. A bunch of commercial games use it, too. The two I know of for sure are Quake IV and UT2k4. (at least on the Mac)
Quote this message in a reply
Luminary
Posts: 5,125
Joined: 2002.04
Post: #4
The Mac port of Feeding Frenzy also uses SDL -- in fact, just about everything that Ryan Gordon ported does Smile
Quote this message in a reply
Member
Posts: 185
Joined: 2005.02
Post: #5
Shock And it doesn't force me to do object-oriented programming!
ding ding ding ! We have a winner! Smile
Thanks for the help!
Quote this message in a reply
Jones
Unregistered
 
Post: #6
ferum Wrote:Shock And it doesn't force me to do object-oriented programming!
ding ding ding ! We have a winner! Smile
Thanks for the help!

Does GLUT? Huh
Quote this message in a reply
Moderator
Posts: 3,552
Joined: 2003.06
Post: #7
No, GLUT does not require object-oriented programming.
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #8
yea, but using it feels like wading through a tub of sand up to your neck.

It's not magic, it's Ruby.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  xcode memory error thing issue NelsonMandella 1 2,564 Feb 22, 2009 10:41 PM
Last Post: AnotherJake
  My next thing Duane 1 1,852 Aug 8, 2008 07:24 AM
Last Post: Blacktiger
  C++ Different forms of the same thing unknown 7 2,996 Jul 5, 2006 11:03 AM
Last Post: Taxxodium