{"author_name": "maffydub", "cat": "LD #29", "comments": [], "epoch": 1398543720, "likes": 2, "metadata": {"p_key": "31558", "p_author": "maffydub", "p_authorkey": "36549", "p_urlkey": "67052", "p_title": "Voxel Ducks", "p_cat": "LD #29", "p_event": "LD29", "p_time": "1398543720", "p_likes": "2", "p_comments": "0", "p_status": "UPD5", "us_key": "36549", "us_name": "maffydub", "us_username": "maffydub", "event_start": "1398384000", "event_key": "22", "event_name": "LD29"}, "text": "<p>This is my first Ludum Dare, and I might have missed the point a bit &#8211; I&#8217;ve spent most of the day hacking around with a custom WebGL-based 3D engine.</p>\n <p>&#8230;but it&#8217;s been fun, and at least I have a voxel duck (or 3) to show for it!</p>\n <p><a href=\"http://www.ludumdare.com/compo/wp-content/uploads/2014/04/duck.png\"><img class=\"alignnone size-medium wp-image-347771\" src=\"http://www.ludumdare.com/compo/wp-content/uploads/2014/04/duck-280x300.png\" alt=\"duck\" width=\"280\" height=\"300\" srcset=\"http://ludumdare.com/compo/wp-content/uploads/2014/04/duck-280x300.png 280w, http://ludumdare.com/compo/wp-content/uploads/2014/04/duck.png 478w\" sizes=\"(max-width: 280px) 100vw, 280px\" /></a></p>\n <p>The kind of interesting thing here is that the voxels are rendered entirely in GLSL &#8211; the only &#8220;meshes&#8221; I have in this are 3 cubes (one per duck).  The algorithm started off being based on <a href=\"//prideout.net/blog/?p=64\" target=\"_blank\">this article</a>, but is now heavily modified.  Models are just .png images &#8211; e.g.</p>\n <p><img class=\"alignnone\" src=\"https://raw.githubusercontent.com/matt-williams/ld29/master/duck.voxelmap.png\" alt=\"\" width=\"512\" height=\"64\" /></p>\n <p><a href=\"http://matt-williams.github.io/ld29\" target=\"_blank\">Try it for yourself</a> (you&#8217;ll need a recent browser &#8211; I&#8217;ve only tested in Chrome), or <a href=\"https://github.com/matt-williams/ld29\" target=\"_blank\">check out the code</a> if you&#8217;re interested.</p>\n <p>Tomorrow, I might try and actually make a game!</p>", "time": "April 26th, 2014 3:22 pm", "title": "Voxel Ducks"}