{"author_name":"TheCodeTroll","cat":"MiniLD","comments":[{"author_name":"Nsmurf","time":"July 13, 2012 12:53 pm","epoch":1342201980,"text":"Nice! the gradient is good!","spam":"N"},{"author_name":"TheCodeTroll","time":"July 13, 2012 1:26 pm","epoch":1342203960,"text":"I can vouch for it being incredibly easy to get into using, this being my first real stab at a project, and I&#8217;ve done all this in 4 days! <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/>","spam":"N"},{"author_name":"the3rdc","time":"July 14, 2012 8:35 am","epoch":1342272900,"text":"This game is so addicting! I love it!","spam":"N"}],"epoch":1342200720,"likes":1,"metadata":{"p_key":"55588","p_author":"TheCodeTroll","p_authorkey":"5441","p_urlkey":"91306","p_title":"friday the 13th! Wasnt unlucky at all","p_cat":"MiniLD","p_event":"LD23","p_time":"1342200720","p_likes":"1","p_comments":"3","p_status":"UPD5","us_key":"5441","us_name":"TheCodeTroll","us_username":"thecodetroll","event_start":"1334880000","event_key":"10","event_name":"LD23"},"text":"<p>Well, today has been great really.<br \/>\n Grant made some more levels (he is extremely sadistic and thinks you should all burn in his level hell)<br \/>\n They are pretty difficult but they\u00a0incorporate\u00a0the new mechanics pretty well <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><br \/>\n New blocks are: the crumble block, you can only roll on it once! then it falls appart (will change gphx soon)<br \/>\n Confusion block, swaps left and right around.<\/p>\n <p>I finally thought of a not so hard way to make the background transition a little better!<br \/>\n Took me a little while to play around and implement it, was pretty cool in the end.<\/p>\n <p>I construct a 4 vert plane in code (because Unity&#8217;s plane has 121 verts!)<br \/>\n Construct its vert positions vert UV&#8217;s and its normals.<br \/>\n I apply a gradient material :<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/07\/13\/friday-the-13th-wasnt-unlucky-at-all\/gradient\/\" rel=\"attachment wp-att-148369\"><img class=\"alignnone size-medium wp-image-148369\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/07\/Gradient-300x300.png\" alt=\"\" width=\"300\" height=\"300\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/07\/Gradient-150x150.png 150w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/07\/Gradient-300x300.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/07\/Gradient.png 512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n And then set up the UV coords of the plane so that, if the level starts white, all 4 UV coords are along the bottom,<br \/>\n and if the level starts black the UV coords are along the top.<\/p>\n <p>When you press space to change the colour, the UV&#8217;s lerp from one set of vector2&#8217;s to the other! \ud83d\ude00<\/p>\n <p>It was seriously god fun implementing and finally getting it working! <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>Have a play around<br \/>\n (only the flattened version is current)<br \/>\n <a title=\"MY GAMEEEEE\" href=\"http:\/\/dl.dropbox.com\/u\/37694220\/Contrast\/contrast.html\" target=\"_blank\">http:\/\/dl.dropbox.com\/u\/37694220\/Contrast\/contrast.html\u00a0<\/a><\/p>","time":"July 13th, 2012 12:32 pm","title":"friday the 13th! Wasnt unlucky at all"}