{"id":83,"date":"2013-02-06T23:16:12","date_gmt":"2013-02-07T05:16:12","guid":{"rendered":"http:\/\/www.shockbots.com\/blog\/?p=83"},"modified":"2013-02-24T20:21:00","modified_gmt":"2013-02-25T02:21:00","slug":"2013-02-06-doors-and-more","status":"publish","type":"post","link":"http:\/\/www.shockbots.com\/blog\/?p=83","title":{"rendered":"2013-02-06 Doors and more"},"content":{"rendered":"<p>I added doors to the game.\u00a0 It took way too long &#8211; I was setting a vector3D to = another and not a copy so all the doors were going down when only some should.\u00a0 Doors now stay up if you are on the edge of the map to indicate to the player that that exit is not available.\u00a0 I also added the final power ups for the game:<\/p>\n<ul>\n<li>LifeContainerUp &#8211; adds to the max HP<\/li>\n<li>SpeedUp &#8211; Increases player speed<\/li>\n<li>HeatMaxLevelUp &#8211; Increases max heat of weapon, which gives longer firing before overheating<\/li>\n<li>DamageUp &#8211; Increases each shot&#8217;s damage<\/li>\n<\/ul>\n<p>I added a 3rd room for variety as well.\u00a0 I accidentally created a recursion bug when setting the weapon&#8217;s upgrades when switching weapons.\u00a0 I wanted to be sure to give the up grades to whatever weapon the player has, but in doing so I kept re-adding them and re-adding them forever.\u00a0 Seeing the flash debugger just freeze was scary.\u00a0 I thought it was my machine so I rebooted it and the problem was still there, of course.\u00a0 Took a while, but finally fixed it.<\/p>\n<p>So, next up some mob collision logic and a boss room.\u00a0 Latest video below.<\/p>\n<p><a title=\"Shockbots_2013.02.06\" href=\"http:\/\/www.shockbots.com\/Video\/Shockbots_2013.02.06.mov\">Shockbots_2013.02.06<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I added doors to the game.\u00a0 It took way too long &#8211; I was setting a vector3D to = another and not a copy so all the doors were going down when only some should.\u00a0 Doors now stay up if you are on the edge of the map to indicate to the player that that [&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-83","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\/83","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=83"}],"version-history":[{"count":3,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":177,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions\/177"}],"wp:attachment":[{"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.shockbots.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}