{"id":636,"date":"2010-10-07T18:30:25","date_gmt":"2010-10-08T00:30:25","guid":{"rendered":"http:\/\/www.philhassey.com\/blog\/?p=636"},"modified":"2010-10-07T18:30:25","modified_gmt":"2010-10-08T00:30:25","slug":"dynamite-day-9-bombs","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2010\/10\/07\/dynamite-day-9-bombs\/","title":{"rendered":"Dynamite: Day 9 &#8211; Bombs"},"content":{"rendered":"<p>So .. it&#8217;s been a crazy day here, so not a lot of dev got done.  But I did just add the ability for the user to drop an unlimited number of bombs.  It looks pretty messy, but it does indicate progress!<\/p>\n<p><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz026.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz026.png\" alt=\"DynamiteScreenSnapz026\" title=\"DynamiteScreenSnapz026\" width=\"512\" height=\"406\" class=\"aligncenter size-full wp-image-637\" srcset=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz026.png 512w, https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz026-300x237.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>Oh, and the function that I call to drop a bomb is:<\/p>\n<pre>void logic_bomb(Game &game, int b);<\/pre>\n<p>Which I like.  And to follow it up, here&#8217;s a tiny explosion&#8217;s resulting floor damage:<\/p>\n<p><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz027.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz027.png\" alt=\"DynamiteScreenSnapz027\" title=\"DynamiteScreenSnapz027\" width=\"512\" height=\"406\" class=\"aligncenter size-full wp-image-640\" srcset=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz027.png 512w, https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2010\/10\/DynamiteScreenSnapz027-300x237.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>I&#8217;m not sure that I&#8217;ll get much more done today .. but I feel that was a pretty good go of it.  Next up is getting the various bombs working how I want and then doing some game cleanup, and then testing it out on the iPad, so I know how much I have to tweak the graphics code to get it to run at speed.  Then I&#8217;ll be ready to move onto &#8220;making tons of levels&#8221; !<\/p>\n<p>Though, somewhere in there, I&#8217;m going to have to do a ton of extra work on the guard AI, it needs to work well regardless of how the map is destroyed by the bombs \ud83d\ude42  Not an easy task!<\/p>\n<p>-Phil<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So .. it&#8217;s been a crazy day here, so not a lot of dev got done. But I did just add the ability for the user to drop an unlimited number of bombs. It looks pretty messy, but it does indicate progress! Oh, and the function that I call to drop a bomb is: void [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116],"tags":[],"class_list":["post-636","post","type-post","status-publish","format-standard","hentry","category-dynamite"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=636"}],"version-history":[{"count":5,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/636\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}