{"author_name":"PEBKAC","cat":"LD #29","comments":[],"epoch":1398965940,"likes":0,"metadata":{"p_key":"30066","p_author":"PEBKAC","p_authorkey":"14640","p_urlkey":"65533","p_title":"PEBKAC\u2019s post-mortem","p_cat":"LD #29","p_event":"LD29","p_time":"1398965940","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"14640","us_name":"PEBKAC","us_username":"\/author\/pebkac\/","event_start":"1398384000","event_key":"22","event_name":"LD29"},"text":"<p style=\"color: #000000\">LD came and went, and no game from me&#8230; Due to time constraints I was unable to complete my project: A 2D Raptor style surface flyer beneath the surface of Mars.<\/p>\n <p style=\"color: #000000\">\n <p style=\"color: #000000\">Still, I had a good time in the one day I was jammin&#8217;. For starters, it was the first time I did a Unity project in the new-fangled 2D mode. It worked out pretty well. Also, this was the first time I did any type of random\/procedural terrain generation. I kept the design for this extremely simple and had quite some difficulty getting the details right, but all in all I am pretty happy with how it turned out.<\/p>\n <p style=\"color: #000000\">\n <p style=\"color: #000000\">One bump I hit (once again) was collision detection. Took me a night&#8217;s sleep before I realised Unity has separate functions for physincs in a 2D project. Pro-tip: Don&#8217;t use the functions for 3D collision detection when in a 2D project. Use\u00a0<span style=\"font-family: 'Courier New', Courier, monospace\">OnTriggerEnter2D()\u00a0<\/span>instead of\u00a0<span style=\"font-family: 'Courier New', Courier, monospace\">OnTriggerEnter()<\/span>\u00a0if you want our code to work properly&#8230;<\/p>\n <p style=\"color: #000000\">\n <p style=\"color: #000000\">I knew time was the enemy, kept my design relativly small, decided to learn some new things and in general had tons of fun. I refuse to see not having a game as a failure.<\/p>","time":"May 1st, 2014 12:39 pm","title":"PEBKAC\u2019s post-mortem"}