1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Mac Games...

Discussion in 'Mac Programming' started by CaptainZap, Feb 4, 2007.

  1. macrumors regular

    What language are Mac games written in? I know lots of Windows games are written in C#, so I thought I'd ask =]
  2. Moderator


    Staff Member

    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.
  3. macrumors regular

    Most with C or C++ using OpenGL and/or SDL most likely.

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

    Nobody uses C# for game programming, unless you're using Unity.

  5. macrumors regular

    Umm, not true :p
    On Windows, there is XNA which uses C#
  6. macrumors 68020

    Oops, yeah, forgot about that...I was thinking about computer games though.

  7. macrumors regular

    What are console games written in then?
  8. Moderator


    Staff Member


    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++.
  9. macrumors regular

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

    Alright, well maybe when I heard about C# I got console games and computer games switched around :p
  11. Moderator


    Staff Member

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

Share This Page