{"id":130,"date":"2009-10-13T14:04:07","date_gmt":"2009-10-13T18:04:07","guid":{"rendered":"http:\/\/www.playinfluence.com\/wp\/?p=130"},"modified":"2010-03-30T14:07:44","modified_gmt":"2010-03-30T18:07:44","slug":"happy-trails","status":"publish","type":"post","link":"https:\/\/www.blanketfortgames.com\/wp\/?p=130","title":{"rendered":"Happy Trails"},"content":{"rendered":"<p>So we were getting some performance issues from the boid trails.\u00c2\u00a0 It turns out that updating, drawing, and tossing one trail particle per boid per frame into the garbage collector is inefficient at 150+ boids.\u00c2\u00a0 Who knew?<\/p>\n<p>Anyway, we adjusted the system to reduce the number of trail particles as the processor began to choke.\u00c2\u00a0 This leads to the trails lengthening and shortening, gradually, during gameplay.\u00c2\u00a0 As having a bunch of one kind of trail is cheaper than many different types of trail, this means that as you win, and more of the boids become your type, the trails get longer.\u00c2\u00a0 It&#8217;s totally an intentional reward system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So we were getting some performance issues from the boid trails.\u00c2\u00a0 It turns out that updating, drawing, and tossing one trail particle per boid per frame into the garbage collector is inefficient at 150+ boids.\u00c2\u00a0 Who knew? Anyway, we adjusted the system to reduce the number of trail particles as the processor began to choke.\u00c2\u00a0 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/130"}],"collection":[{"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":0,"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blanketfortgames.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}