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

    #1
    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

    robbieduncan

    Staff Member

    #2
    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

    #3
    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

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

    --Eric
     
  5. macrumors regular

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

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

    --Eric
     
  7. macrumors regular

    #7
    What are console games written in then?
     
  8. Moderator

    robbieduncan

    Staff Member

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

    #9
    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

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

    robbieduncan

    Staff Member

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

Share This Page