What's the best, erm, window handling thing?
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?
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
)
)
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)
The Mac port of Feeding Frenzy also uses SDL -- in fact, just about everything that Ryan Gordon ported does
And it doesn't force me to do object-oriented programming! ding ding ding ! We have a winner!
Thanks for the help!
ferum Wrote:And it doesn't force me to do object-oriented programming!
ding ding ding ! We have a winner!![]()
Thanks for the help!
Does GLUT?
No, GLUT does not require object-oriented programming.
yea, but using it feels like wading through a tub of sand up to your neck.
It's not magic, it's Ruby.
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 |
|

