Best cross platform API for PC & MAC

Tarek Demiati
Post: #1
What's the best (more reliable & robust) API (2D/3D GFX- Joystick handling - AUDIO) for the PC and the MAC ?

How good is SDL ? is it a good cross platform API ?
Quote this message in a reply
Posts: 1,066
Joined: 2004.07
Post: #2
I use SDL cross platform for window setup and input. I think it's a fantastic API.
For graphics (2D or 3D) I use OpenGL.
For sound I use OpenAL.
Quote this message in a reply
Tarek Demiati
Post: #3
Thanks for your input Nicks,
which compiler do you use on the MAC (C++ CodeWarrior ?) ? and which one do you use on the PC (Visual C++ from the Microst Dev Studio)
Quote this message in a reply
Posts: 17
Joined: 2006.02
Post: #4
Most people use GCC on the Mac. CodeWarrior is effectively dead as of the Intel switch from what I understand.

Some of my masochistic friends like to use GCC directly from the command line, however the vast majority tend to use it indirectly through Xcode, Apple's bundled IDE.

The only Windows development I've ever done was using VisualBasic, and, well, I wouldn't recommend taking that path :-p
Quote this message in a reply
Posts: 1,140
Joined: 2005.07
Post: #5
For Windows, Visual C++ is probably the best one you can get. Hurry and grab the free beta while you can, though, since it's expensive. Rasp (assuming it's still available)

For the Mac, as mentioned, it has to be GCC if you want to support Intel Macs. I suppose if you really wanted to, you could get Code Warrior and create an application using that for PowerPC, then use XCode to create an Intel version (either with GCC or by buying Intel's compiler) and lipo them together to form a universal binary, but I strongly discourage that. Rasp
Quote this message in a reply
Posts: 168
Joined: 2004.10
Post: #6
Visual C++ express is free, but I highly recommend Dev-C++ for SDL, with its nice packages options.
Quote this message in a reply
Posts: 198
Joined: 2005.01
Post: #7
Of course I'll plug my own API (or the one I helped make anyway Smile) though it's not as easy for a beginner due to a lack of docs and examples:

FYI (not to be overly picky) it's Mac and not MAC. PC is an acronym while Mac is short for Macintosh.

Cryptic Allusion Games / Cryptic Allusion, LLC
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cross platform question kordeul 13 8,066 Aug 22, 2007 03:09 AM
Last Post: kordeul
  Cross-platform gui? Duane 13 9,181 Jul 6, 2007 06:38 PM
Last Post: mac_girl
  cross-platform code leggo 35 20,536 Jul 18, 2004 05:05 PM
Last Post: Fenris
  Cross platform game code on a budget Carlos Camacho 7 5,923 Apr 19, 2003 09:29 PM
Last Post: Mars_999
  Cross-platform Solutions DJBlufire 13 7,727 Feb 16, 2003 02:40 PM
Last Post: athomson