{"author_name":"INC$D021","cat":"LD #30","comments":[],"epoch":1408693740,"likes":0,"metadata":{"p_key":"28992","p_author":"INC$D021","p_authorkey":"39751","p_urlkey":"64450","p_title":"LD30 Startup scripts.","p_cat":"LD #30","p_event":"LD30","p_time":"1408693740","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"39751","us_name":"INC$D021","us_username":"incd021","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>Hi all, <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>As the rules states &#8220;Base code and personal code libraries are allowed, but should be declared and shared with the community prior to beginning your entry. To do this, make a blog post.&#8221;<\/p>\n <p>So I&#8217;ll share the two small scripts that I use in almost project\u00a0I make\u00a0in Unity.<\/p>\n <ul>\n <li>AudioController.cs for playing sfx&#8217;s. I normally use this\u00a0when I destroy an object that should play a death sfx. I can just play a sound an destroy the object instead of having to keep it in limbo just to play a sound.<\/li>\n <li>CameraScript.cs for following player or any other object with damping.<\/li>\n <\/ul>\n <p><a href=\"http:\/\/incd021.com\/Games\/LD30\/StartUp-Scripts.zip\">Download Startup scripts<\/a><\/p>\n <p>That was it.. Rules obeyed <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>Good luck all. =D<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/rules\/\" rel=\"tag\">rules<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/scripts\/\" rel=\"tag\">Scripts<\/a><\/p>","time":"August 22nd, 2014 2:49 am","title":"LD30 Startup scripts."}