{"author_name":"little_polygon","cat":"MiniLD","comments":[],"epoch":1400993760,"likes":1,"metadata":{"p_key":"29754","p_author":"little_polygon","p_authorkey":"19295","p_urlkey":"65219","p_title":"MiniLD51 \u2013 Little Polygon Toolchain","p_cat":"MiniLD","p_event":"LD29","p_time":"1400993760","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"19295","us_name":"little_polygon","us_username":"xewlupus","event_start":"1398384000","event_key":"22","event_name":"LD29"},"text":"<p><a href=\"http:\/\/www.ludumdare.com\/compo\/2014\/05\/24\/minild51-little-polygon-toolchain\/hitbox_icon\/\" rel=\"attachment wp-att-364390\"><img class=\"aligncenter size-full wp-image-364390\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/05\/hitbox_icon.png\" alt=\"MAX!\" width=\"200\" height=\"200\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/05\/hitbox_icon-150x150.png 150w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/05\/hitbox_icon.png 200w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n <p>Hi! I&#8217;m\u00a0Max.\u00a0\u00a0I collaborated with @petey123567\u00a0on <a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-29\/?action=preview&amp;uid=4433\">DIGHARD<\/a> for LD29, and it felt\u00a0so good I&#8217;ve decided to keep the ball rolling and go in for MiniLD51.<\/p>\n <p>In general I&#8217;ve been developing with Unity, but it&#8217;s been kind of love-hate. \u00a0I love the content management, but the programming interface is a bit of a minefield (e.g. did you know that .transform is just an alias for .GetComponent&lt;Transform&gt;(), and it&#8217;s\u00a0nontrivially expensive to call a whole bunch every frame? Ew!). \u00a0So I&#8217;ve been wanting to transition to SDL2, but first I need a better content solution, since SDL2 doesn&#8217;t have one, and some\u00a0higher level rendering primitives than OpenGL.<\/p>\n <p>Enter the <a href=\"http:\/\/www.ludumdare.com\/compo\/minild-51\/?action=preview&amp;uid=19295\">Little Polygon Toolchain<\/a>.<\/p>\n <p>Firstly, there&#8217;s a pile of python scripts for plotting\u00a0<a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/tools\/atlas.py\">sprite<\/a> and <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/tools\/fontsheet.py\">font-glyph<\/a> atlases, parsing <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/tools\/tmx.py\">tilemaps<\/a>, compressing audio and userdata,\u00a0and exporting everything to a <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/tools\/export_asset_bin.py\">fast native format<\/a> with a <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/tools\/bintools.py\">pointer-fixup table<\/a> that\u00a0<a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/src\/AssetBundle.cpp\">load quickly with plain SDL IO<\/a> and no fat third-party libraries.<\/p>\n <p>Secondly, there&#8217;s efficient <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/sprites.h\">Sprite<\/a> and <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/splines.h\">Spline<\/a> batchers for using the assets and a GameJam-friendly <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/context.h\">context-setup-and-teardown object<\/a>, as well as <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/pools.h\">other<\/a> <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/events.h\">handy<\/a> <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/blob\/master\/include\/littlepolygon\/math.h\">utilities<\/a>. \u00a0I&#8217;m even playing around with <a href=\"https:\/\/github.com\/maxattack\/little-polygon\/tree\/master\/demo-mono\">Mono bindings<\/a> for doing mixed C++\/C# development and opening builds to end-user modding.<\/p>\n <p>Making tech is fun, but collaborating is even more fun, so I&#8217;m totally game to help if you&#8217;d like to use this for your project or help me turn this into a proper shrink-wrapped open-source toolkit for general consumption \ud83d\ude00<\/p>\n <p>Excelsior!<\/p>","time":"May 24th, 2014 11:56 pm","title":"MiniLD51 \u2013 Little Polygon Toolchain"}