Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | | #ludumdare on irc.afternet.org (Info)

Ludum Dare 29 — April 25th-28th Weekend [9 PM EST] — Theme: ??? (Slaughter Ends Soon!)
  • Ludum Dare 29 Compo (48 Hour+Solo+Scratch+Src) Begins: in 7 days, 9 hours, 20 minutes, 56 seconds
  • Ludum Dare 29 Jam (72 Hour+Teams OK+Relaxed) Begins: in 7 days, 9 hours, 20 minutes, 57 seconds
  • [ MiniLD 50 | Warmup Weekend April 19th-20th | Real World Gatherings | Ludum Deals | Wallpaper ]


    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).

    Cheers

    Krony

    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:

      Allowed.

      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:

      http://www.ludumdare.com/compo/minild-31/?action=preview&uid=10313

      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]