About | Rules and Guide | Sign In/Create Account | Write a Post
Construction1990’s Internet Montage? No!
Please excuse the site weirdness. Mike is fixing and making things.
Ludum Dare 31 — Coming December 5th-8th 2014!

  • ??? Begins: in 8 days, 0 hours, 44 minutes, 54 seconds
  • October Ends: in 9 days, 0 hours, 56 minutes, 54 seconds
  • Ludum Dare 31 begins: in 44 days, 1 hour, 44 minutes, 54 seconds
  • (FYI: Clock might be off) | Ludum Dare 31: Real World Gatherings (Now Open!)

    [ October Challenge 2014 | Resources | Submit/Edit | View All ]

    C++ and SDL? is this allowed

    Posted by
    February 7th, 2012 2:44 am

    Hey guys im completely new to LD, and im very interested to give it ago, but i have one simple question, can i submit games coded in C++(+)SDL? I saw the games in LD22 could be played online. but im pretty sure a exe can not be played through a website (i maybe wrong).



    5 Responses to “C++ and SDL? is this allowed”

    1. digital_sorceress says:

      C++ with SDL is fine, although some have determined this to be a difficult path for a 48 hour contest.

      Native binaries are fine, and are common, so you certainly won’t be alone. About 1/2 of LD entries are playable in a browser, and these do tend to get the most publicity.

      Also be sure to check the rules: http://www.ludumdare.com/compo/rules/

    2. emjas says:

      Definitely allowed. Games don’t need to be playable in a browser, just downloadable in some fashion or another.

    3. Krony says:

      ah ok, well im at university and we are learning C++ and openGL, but i feel i would like to give SDL a try, maybe i should try java? would that be a better option?

      Cheers for the info

    4. Kvisle says:


      Just make sure that you declare your basecode beforehand, and remember that you need to provide the source code of your entry.

    5. ‘barebones’ https://github.com/williame/barebones is a micro-framework you may be interested in.

      It hides SDL or Chrome’s Native Client browser plug-in and just gives you a very simple bit where you decide what to draw on an OpenGL context.

      This means your programs run natively on Windows, Linux, Mac (presumed; not tried) and in-browser using Chrome’s native client (at full speed).

      The biggest complexity this adds is file loading. But you can see in my LD mini 31 entry how easy that can be when you understand it:


      Looking forward to competing with you in the future :)

    Leave a Reply

    You must be logged in to post a comment.

    All posts, images, and comments are owned by their creators.

    [cache: storing page]