{"id":86,"date":"2011-10-08T05:58:02","date_gmt":"2011-10-08T05:58:02","guid":{"rendered":"http:\/\/www.zombox.net\/?p=86"},"modified":"2012-07-04T21:56:10","modified_gmt":"2012-07-04T21:56:10","slug":"splashes-and-ai","status":"publish","type":"post","link":"http:\/\/www.zombox.net\/?p=86","title":{"rendered":"Splashes, weapons and AI&#8230;"},"content":{"rendered":"<p>This week&#8217;s work on Zombox was sporadic and mostly behind-the-scenes.<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/wp-content\/uploads\/2011\/10\/zombox_221.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-88\" title=\"zombox_22\" src=\"http:\/\/www.zombox.net\/wp-content\/uploads\/2011\/10\/zombox_221.jpg\" alt=\"\" width=\"480\" height=\"320\" srcset=\"http:\/\/www.zombox.net\/wp-content\/uploads\/2011\/10\/zombox_221.jpg 480w, http:\/\/www.zombox.net\/wp-content\/uploads\/2011\/10\/zombox_221-300x200.jpg 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>The biggest changes are the following:<\/p>\n<p>-weapons can now damage the environment. Got a hammer? Smash down a wall. Got an axe? Chop down a street light.<\/p>\n<p>-zombie AI and flocking algorithms have been improved. Zombies no longer intersect one another while crowding around the player<\/p>\n<p>-zombie pathfinding has been improved. The A* algorithm now runs in a co-routine so it can process a path over multiple frames, lessening the load on the CPU and allowing for longer paths to be calculated<\/p>\n<p>-objects and enemies can be pushed in the water now. They&#8217;ll splash and drown but so can the player so you shouldn&#8217;t go too close to the edge!<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_02.gif\">Here&#8217;s a gif showing the splashing in action.<\/a><\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_04.gif\">Here&#8217;s a gif showing the pathfinding in action.<\/a><\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_03.gif\">Here&#8217;s a gif showing the environment destruction in action.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week&#8217;s work on Zombox was sporadic and mostly behind-the-scenes. The biggest changes are the following: -weapons can now damage the environment. Got a hammer? Smash down a wall. Got an axe? Chop down a street light. -zombie AI and flocking algorithms have been improved. Zombies no longer intersect one another while crowding around the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6,7,3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/86"}],"collection":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":5,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":271,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/271"}],"wp:attachment":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}