{"id":1659,"date":"2014-12-11T09:06:19","date_gmt":"2014-12-11T09:06:19","guid":{"rendered":"http:\/\/astoryisnotatree.net\/?p=1659"},"modified":"2020-04-22T21:24:58","modified_gmt":"2020-04-22T21:24:58","slug":"bug-spotter-post-3-post-mortem","status":"publish","type":"post","link":"https:\/\/astoryisnotatree.net\/?p=1659","title":{"rendered":"Games from Nothing: Post-Mortem \u2014 Bug Spotter"},"content":{"rendered":"<figure id=\"attachment_1658\" aria-describedby=\"caption-attachment-1658\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-48-30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1658 \" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-48-30-187x300.png\" alt=\"Screenshot_2014-12-11-03-48-30\" width=\"500\" height=\"802\" \/><\/a><figcaption id=\"caption-attachment-1658\" class=\"wp-caption-text\">The beginning of the game, as well as a good example of what happens when you let the bee get too close to you.<\/figcaption><\/figure>\n<p>The process of coding Bug Spotter was both substantially easier and substantially more difficult than I had originally envisioned. After a laborious design process, I was easily able to code the proper behaviors for the spot-hungry lady bug, the bee that tailed it, and the spots that needed to be collected. I attribute the ease with that phase of the project to the fact that I very consciously designed my game to stay well within the limits of code we had already had substantial amounts of experience with throughout the semester.<\/p>\n<figure id=\"attachment_1656\" aria-describedby=\"caption-attachment-1656\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-45-54.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1656 \" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-45-54-187x300.png\" alt=\"Screenshot_2014-12-11-03-45-54\" width=\"500\" height=\"802\" \/><\/a><figcaption id=\"caption-attachment-1656\" class=\"wp-caption-text\">The player guides the ladybug to the various spots as it is pursued by the bee.<\/figcaption><\/figure>\n<p>I experienced two major crises when coding the game; one I was able to resolve, the other I was not able to overcome. The first problem I ran into came when I attempted to change the speed of the flower&#8217;s rotation after a given event. The code I was attempting to use to express that idea ended up corrupting my game file, and I lost about two hours of work. I was able to confirm that it was that particular bit of code by duplicating a game file I knew worked, pasting the sketchy code into one of the files, saving it, deleting the code I had just added, and attempting to run the file again. Even with all traces of new code removed, the duplicate copy was permanently corrupted. After that incident, I became way more paranoid about saving working duplicates of my game, and never ran into an irreversible mistake like that again.<\/p>\n<p>The one thing I was not able to get working in this game was the collision with the bee and the ladybug. I wanted to turn the center of the flower brown each time the bee collided with the player. I made the mistake of thinking that, because the collision with the black spots worked flawlessly, I would easily be able to get the collision with the bee working as well. Unfortunately, I ended up spending at least as much time working exclusively on the bee collision as I spent working on all the other elements in the game combined, and it still does not function correctly.<\/p>\n<figure id=\"attachment_1657\" aria-describedby=\"caption-attachment-1657\" style=\"width: 501px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-46-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1657 \" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/Screenshot_2014-12-11-03-46-20-187x300.png\" alt=\"Screenshot_2014-12-11-03-46-20\" width=\"501\" height=\"804\" \/><\/a><figcaption id=\"caption-attachment-1657\" class=\"wp-caption-text\">The ladybug has found its spots, and returns to the now-golden center of the flower.<\/figcaption><\/figure>\n<p>Overall, I feel as if this has been my most successful game yet. The concept has been really well-received by everyone I have shown it to, and it felt really great to be able to begin to use designs that were more complex than simple circles, squares, and triangles. I hope to be able to continue developing this game in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The process of coding Bug Spotter was both substantially easier and substantially more difficult than I had originally envisioned. After a laborious design process, I was easily able to code the proper behaviors for the spot-hungry lady bug, the bee&#8230;<\/p>\n","protected":false},"author":18,"featured_media":1658,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[39,103,50],"class_list":["post-1659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games-from-nothing","tag-conference-project","tag-conference-post-3","tag-conference","wpcat-5-id"],"_links":{"self":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1659"}],"version-history":[{"count":3,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1659\/revisions"}],"predecessor-version":[{"id":13800,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1659\/revisions\/13800"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/media\/1658"}],"wp:attachment":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}