Braid

This is a discussion on Braid within the Game Programming forums, part of the General Programming Boards category; Does anyone know exactly what the famous indie game Braid was coded in? From what I can tell it was ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    21

    Braid

    Does anyone know exactly what the famous indie game Braid was coded in? From what I can tell it was some C++ compatible libraries. I'm curious as it looked good though I doubt one person would have the time to write all this in Directx or Opengl, though the author gave the limitations of XNA as it wasn't that.

  2. #2
    Registered User
    Join Date
    Sep 2009
    Posts
    48
    The language it was coded in was almost certainly C and/or C++.

    The original developer, Jonathan Blow, developed the game for Xbox 360's Xbox LIVE Arcade and Windows. As far as I know, he did all the design and coding himself, but outsourced the content (audio/graphics), and it took him about three years. For these platforms he would have used DirectX 9 and the Xbox 360's own graphics libraries that are built on DirectX (they are almost identical to DirectX 9.0c) along with some other platform-specific libraries. I imagine he probably used DirectInput/XInput and XAudio2 for input and audio respectively, but I can't say for certain.

    The game was ported to other platforms (Mac OSX, PSN, and Linux), but apparently not by Jonathan Blow (according to Wikipedia it was done by a development studio called Hothead Games - Braid (video game) - Wikipedia). For these platforms they will have used OpenGL for graphics (I believe the PS3's graphics libraries are built on OpenGL), along with platform specific APIs for other things such as audio, filesystems and input.

    C#/XNA does have some limitations compared to C++/DirectX, but I reckon a game like Braid would be well within the capabilities of XNA. It's all swings and roundabouts anyway.
    Last edited by Ushakal; 09-02-2011 at 09:59 PM.

  3. #3
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    Blow confirms in his development blog that Braid was originally written in C++, using Visual Studio.
    He also claims here that
    Braid would simply not work in any language slower than C++; I had to do a lot of optimization to even get it to run at reasonable speeds on the xbox.
    Take that quote for what it's worth; though I suppose, as Ushakal said, Braid would be fine in C# on a modern PC.
    Consider this post signed

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Braid would be fine in C# on a modern PC.
    Having played it and experienced it's very cool time feature I seriously doubt any other language could pull this off and still be playable.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Gödel, Escher, Bach: an Eternal Golden Braid
    By hilarius in forum General Discussions
    Replies: 1
    Last Post: 12-14-2009, 03:36 PM
  2. Braid: Proof it can be done
    By VirtualAce in forum General Discussions
    Replies: 1
    Last Post: 12-04-2009, 07:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21