{"author_name":"schnerble","cat":"LD #27","comments":[{"author_name":"schnerble","time":"August 24, 2013 7:23 pm","epoch":1377390180,"text":"Thanks! I&#8217;ll check that out if I have any trouble. In my early tests, SDL&#8217;s mixer module worked fine for me; I&#8217;d been using an OGG as in previous entries, and that seemed fine on both Firefox and Chromium (on Linux). I think it said it supports ITs directly too, which would be nice to save space&#8230; will see.","spam":"N"}],"epoch":1377276540,"likes":2,"metadata":{"p_key":"41286","p_author":"schnerble","p_authorkey":"11560","p_urlkey":"76908","p_title":"I\u2019m In \u2013 With Difficulty :)","p_cat":"LD #27","p_event":"LD27","p_time":"1377276540","p_likes":"2","p_comments":"2","p_status":"UPD5","us_key":"11560","us_name":"schnerble","us_username":"schnerble","event_start":"1377216000","event_key":"18","event_name":"LD27"},"text":"<p>Hi all!<\/p>\n <p>After missing LD26 due to family commitments, I&#8217;m back in for LD27.\u00a0 Looking forward to it!<\/p>\n <p>I&#8217;m using another new technology this time: Emscripten, to compile C++ code using SDL (and ideally OpenGL) into JavaScript code playable in a web page.\u00a0 The guys have done a remarkably good job on that; I&#8217;ve just been trying it out recently, and it&#8217;s really cool.\u00a0 I&#8217;m in the middle of a bit of indecision about exactly which libraries to use, as I&#8217;ve been playing with SDL, and that&#8217;s really cool, but unfortunately not all of it is implemented in Emscripten yet &#8211; including some things I was going to depend on, such as setting colours and transparency levels for surface blitting.\u00a0 I&#8217;m having a last-minute look into using the WebGL subset of OpenGL ES 2 in it, in the hope that I can get everything going that I need &#8211; though the question arises whether it&#8217;s really worth using WebGL via Emscripten as opposed to just WebGL in JavaScript&#8230; hmmm (:<\/p>\n <p>The little bit of my own library code I&#8217;ve been using, to make sure I can actually get something going in the time, is <a href=\"http:\/\/dl.dropboxusercontent.com\/u\/478847\/ld27\/emstest.tgz\">here<\/a>.<\/p>\n <p>Adding to this interesting situation is my current lack of Internet access from home.\u00a0 Well, luckily there&#8217;s an Internet cafe nearby, but that may lead to me finishing early, as they&#8217;re not likely to be open when LD27 closes at 2am Sunday night, UK time&#8230; I have some ideas about uploading at the last minute via my mobile phone, but we&#8217;ll see.<\/p>\n <p>Target Platform: Web<br \/>\n Language: C++ \/ Emscripten \/ JavaScript \/ HTML5 \/ WebGL (wheeee)<br \/>\n Development Environment: QtCreator on Linux (Kubuntu 13.04)<br \/>\n Graphics: GIMP<br \/>\n Sound: SFXR + Autotracker<\/p>\n <p>Good luck to all, and may your bugs be few and uncomplicated!<\/p>","time":"August 23rd, 2013 11:49 am","title":"I\u2019m In \u2013 With Difficulty :)"}