{"id":85,"date":"2013-02-07T22:29:38","date_gmt":"2013-02-08T04:29:38","guid":{"rendered":"http:\/\/www.shockbots.com\/blog\/?p=85"},"modified":"2013-02-24T20:20:59","modified_gmt":"2013-02-25T02:20:59","slug":"2013-02-07-boss-and-better-mob-movement","status":"publish","type":"post","link":"http:\/\/www.shockbots.com\/blog\/?p=85","title":{"rendered":"2013-02-07 Boss and better mob movement"},"content":{"rendered":"<p>I built the boss room and my first boss &#8211; the SPIDROID DOMINATOR.\u00a0 I figure a big name makes it sound more important.\u00a0 The boss fight is still rough, but pretty fun.\u00a0 I need to add small barriers to give the player a chance &#8211; right now it&#8217;s really hard.\u00a0 I also tweaked the mob AI &#8211; I had a bug where the mobs would always try to go towards you even if they couldn&#8217;t see you.\u00a0 That left them stuck hitting walls trying to get to the player.\u00a0 Now, if the mob can&#8217;t see you and is colliding with a wall for more than 1\/3 second, it picks a random point and wanders that way.\u00a0 It makes them seem much less dumb.\u00a0 Also, if they lose sight of the player they head to the last seen position, which makes them pretty decent at finding the player.<\/p>\n<p>Check out the latest video:<\/p>\n<p><a href=\"http:\/\/www.shockbots.com\/Video\/Shockbots_2013.02.07.mov\">Shockbots_2013.02.06<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I built the boss room and my first boss &#8211; the SPIDROID DOMINATOR.\u00a0 I figure a big name makes it sound more important.\u00a0 The boss fight is still rough, but pretty fun.\u00a0 I need to add small barriers to give the player a chance &#8211; right now it&#8217;s really hard.\u00a0 I also tweaked the mob [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-shockbots-1","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":6,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":176,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions\/176"}],"wp:attachment":[{"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}