PDA

View Full Version : Mac Games...




CaptainZap
Feb 4, 2007, 11:13 AM
What language are Mac games written in? I know lots of Windows games are written in C#, so I thought I'd ask =]



robbieduncan
Feb 4, 2007, 11:14 AM
I don't think many Windows games are written in C#. I think most are written in C++. Which is probably also the choice on the Mac.

bronxbomber92
Feb 4, 2007, 11:46 AM
Most with C or C++ using OpenGL and/or SDL most likely.

Some have been made with Cocoa (and Quartz 2D) also.

Eric5h5
Feb 4, 2007, 12:43 PM
Nobody uses C# for game programming, unless you're using Unity (http://unity3d.com).

--Eric

bronxbomber92
Feb 4, 2007, 12:46 PM
Nobody uses C# for game programming, unless you're using Unity (http://unity3d.com).

--Eric
Umm, not true :p
On Windows, there is XNA which uses C#

Eric5h5
Feb 4, 2007, 01:01 PM
Oops, yeah, forgot about that...I was thinking about computer games though.

--Eric

CaptainZap
Feb 4, 2007, 01:21 PM
What are console games written in then?

robbieduncan
Feb 4, 2007, 01:46 PM
What are console games written in then?

C++

Apart from a tiny number of very simple ones for the 360 that might have been written in C# and XNA. And even then all of the ones that might get ported to another console or use a cross platform engine are written in C++.

bronxbomber92
Feb 4, 2007, 02:02 PM
Also, major AAA commercial games have their own (in-house) managed code/scripting language (e.g. UnReal engine has UnRealScript, Quake has QuakeScript)

CaptainZap
Feb 4, 2007, 02:10 PM
C++

Apart from a tiny number of very simple ones for the 360 that might have been written in C# and XNA. And even then all of the ones that might get ported to another console or use a cross platform engine are written in C++.

Alright, well maybe when I heard about C# I got console games and computer games switched around :P

robbieduncan
Feb 4, 2007, 02:42 PM
Alright, well maybe when I heard about C# I got console games and computer games switched around :P

Perhaps. Anything commercial is probably C++ not C# though.