{"assets":[{"original":"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/01\/day1animOpt.gif","local":"\/data\/posts\/2014\/01\/90f4c7ee6616afe56ada0a62ebac1fd3.gif"}],"author_link":"author\/local-minimum\/","author_name":"local minimum","cat":"MiniLD #48","categories":["MiniLD #48"],"comments":[],"epoch":1389379320,"event":"LD48","likes":2,"metadata":{"p_key":"81687","p_author":"local minimum","p_authorkey":"0","p_urlkey":"290804","p_title":"We are gonna Bash some Bad Bricks!","p_cat":"MiniLD #48","p_event":"LD28","p_time":"1389379320","p_likes":"2","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1386892800","event_key":"20","event_name":"LD28"},"source_url":"2014\/01\/10\/we-are-gonna-bash-some-bad-bricks\/","text":"<p>We\u2019re are in, me and some friends.<\/p>\n<p>We\u2019re going for a mason trying to cure buildings\u2019 facades from rogue bricks conspiring to make the whole place crumble to dust. <\/p>\n<p>Today we\u2019ve mostly been working on mechanics of central game objects in Unity3D. <\/p>\n<p>I was stumped for the longest time of how to have a world object track the mouse position (x, y) on screen at a certain z. Until we found:<\/p>\n<p><code>earPlane.Raycast(ray, out planeDistance)<\/code><\/p>\n<p>And that was all. A plane to raycast and check how far the ray from the <code>camera.ScreenPointToRay<\/code> had to travel to hit the plane and it was done!<\/p>\n<p><strong>Personal goals this with this Ludum<\/strong><\/p>\n<ul>\n<li><em>Make good controls<\/em>. The past two entries of mine here had serious issues with controls. Since this will be a mouse controlled game with static camera, I\u2019ll be damned if I don\u2019t get the controls right.<\/li>\n<li><em>Juice it or die<\/em>. I\u2019m hoping to cram as many camera, sound, visual effects in as it is humanly possible (for us).<\/li>\n<li><em>Gifs<\/em> Each post must have one.<\/li>\n<\/ul>\n<p>Now, I don\u2019t have so much to show for visual progress, but today\u2019s gif shows my devel-sceen spawning bricks at a location. The little cube that follows the mouse pointer (that you don\u2019t see). It also has the audio listener on it so the player can listen in on what the conspiring bricks are whispering about:<\/p>\n<p><img alt=\"day1animOpt\" src=\"\/data\/posts\/2014\/01\/90f4c7ee6616afe56ada0a62ebac1fd3.gif\" width=\"500\"\/><\/p>\n<p>The minimum goal for tomorrow is to complete the game mechanics and at least have a first playable level.<\/p>\n<div style=\"float: right;border: 1px solid #eee;padding: 2px;background: #fff;\"><div class=\"iLikeThis\" id=\"iLikeThis-328773\"><span class=\"counter\"><a class=\"image\" onclick=\"likeThis(328773);\">2<\/a><\/span><\/div><\/div>\n<p class=\"postmetadata alt\">\n<small>\n\t\t\t\t\t\tThis entry was posted\n\t\t\t\t\t\t\t\t\t\t\t\ton Friday, January 10th, 2014 at 6:42 pm\t\t\t\t\t\tand is filed under <a href=\"http:\/\/www.ludumdare.com\/compo\/category\/minild\/minild-48\/\" rel=\"category tag\" title=\"View all posts in MiniLD #48\">MiniLD #48<\/a>.\n\t\t\t\t\t\tYou can follow any responses to this entry through the <a href=\"http:\/\/www.ludumdare.com\/compo\/2014\/01\/10\/we-are-gonna-bash-some-bad-bricks\/feed\/\">RSS 2.0<\/a> feed.\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tYou can <a href=\"#respond\">leave a response<\/a>, or <a href=\"http:\/\/www.ludumdare.com\/compo\/2014\/01\/10\/we-are-gonna-bash-some-bad-bricks\/trackback\/\" rel=\"trackback\">trackback<\/a> from your own site.\n\n\t\t\t\t\t\t\n\t\t\t\t\t<\/small>\n<\/p>","time":"January 10th, 2014 6:42 pm","title":"We are gonna Bash some Bad Bricks!","title_was_empty":false}