Mac Games...

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

  1. macrumors regular

    Joined:
    Jan 17, 2007
    #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 emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #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

    Joined:
    Nov 23, 2006
    #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

    Joined:
    Dec 9, 2004
    #4
    Nobody uses C# for game programming, unless you're using Unity.

    --Eric
     
  5. macrumors regular

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

    Joined:
    Dec 9, 2004
    #6
    Oops, yeah, forgot about that...I was thinking about computer games though.

    --Eric
     
  7. thread starter macrumors regular

    Joined:
    Jan 17, 2007
  8. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #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

    Joined:
    Nov 23, 2006
    #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. thread starter macrumors regular

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

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #11
    Perhaps. Anything commercial is probably C++ not C# though.
     

Share This Page