{"id":343,"date":"2012-03-02T10:21:20","date_gmt":"2012-03-02T10:21:20","guid":{"rendered":"http:\/\/lofigames.com\/?p=343"},"modified":"2014-09-03T10:02:41","modified_gmt":"2014-09-03T10:02:41","slug":"0-40-2-update","status":"publish","type":"post","link":"https:\/\/lofigames.com\/ja\/0-40-2-update\/","title":{"rendered":"0.40.2 Update"},"content":{"rendered":"<p>0.40.2 is now released, so all the MAJOR bugs and crashes should be fixed.<\/p>\n<p>Insanely complicated bit of code this walls business.\u00a0 Aside from making the building process all user-friendly, and the complications of making dynamic changes to the navigation mesh in-game, in a seamless world, there&#8217;s also the AI&#8217;s need to be able to tell when his target or destination is within fortified walls, are the walls sealed, can we get inside, can we bash the gate down, should we bash the gate down&#8230; etc.\u00a0 And that&#8217;s as well as the fact that walls are a fixed length so making the end-point of them match up to the start position is impossible, and that players can build them inside out without realising&#8230;<\/p>\n<p>So that&#8217;s why I thought I&#8217;d take walls out temporarily until the next update.\u00a0 But then I forgot to.\u00a0 So instead just remember these things:<\/p>\n<ol>\n<li>Don&#8217;t build more than one gate in your town walls, or gates within gates or anything like that, or you will get AI problems<\/li>\n<li>The crafting benches don&#8217;t do anything yet, so don&#8217;t build them.<\/li>\n<li>Don&#8217;t build your gates and walls facing outwards.\u00a0 I&#8217;ll have to invent some code to auto-detect this and turn them around.<\/li>\n<\/ol>\n<p>The next update will focus mainly on bugfixing the walls and gates, after that its worker AI and crafting.<\/p>","protected":false},"excerpt":{"rendered":"<p>0.40.2 is now released, so all the MAJOR bugs and crashes should be fixed. Insanely complicated bit of code this walls business.\u00a0 Aside from making the building process all user-friendly, and the complications of making dynamic changes to the navigation mesh in-game, in a seamless world, there&#8217;s also the AI&#8217;s need to be able to tell when his target or destination is within fortified walls, are the walls sealed, can we get inside, can we bash the gate down, should we bash the gate down&#8230; etc.\u00a0 And that&#8217;s as well as the fact that walls are a fixed length so making the end-point of them match up to the start [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[30,29],"class_list":["post-343","post","type-post","status-publish","format-standard","hentry","category-updates","tag-bug-fixes","tag-patches"],"_links":{"self":[{"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/posts\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/comments?post=343"}],"version-history":[{"count":0,"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/posts\/343\/revisions"}],"wp:attachment":[{"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/media?parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/categories?post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lofigames.com\/ja\/wp-json\/wp\/v2\/tags?post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}