Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CaptainZap

macrumors regular
Original poster
Jan 17, 2007
170
0
What language are Mac games written in? I know lots of Windows games are written in C#, so I thought I'd ask =]
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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

macrumors regular
Nov 23, 2006
109
0
Most with C or C++ using OpenGL and/or SDL most likely.

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

Eric5h5

macrumors 68020
Dec 9, 2004
2,494
604
Oops, yeah, forgot about that...I was thinking about computer games though.

--Eric
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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

macrumors regular
Nov 23, 2006
109
0
Also, major AAA commercial games have their own (in-house) managed code/scripting language (e.g. UnReal engine has UnRealScript, Quake has QuakeScript)
 

CaptainZap

macrumors regular
Original poster
Jan 17, 2007
170
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.