{"id":73,"date":"2013-02-15T11:39:07","date_gmt":"2013-02-15T19:39:07","guid":{"rendered":"http:\/\/adamantyr.com\/blog\/?p=73"},"modified":"2013-02-15T11:39:07","modified_gmt":"2013-02-15T19:39:07","slug":"debug-blues","status":"publish","type":"post","link":"http:\/\/www.adamantyr.com\/index.php\/2013\/02\/15\/debug-blues\/","title":{"rendered":"Debug Blues"},"content":{"rendered":"<p>Debugging the combat engine continues&#8230; it is really good to do so, though, since now it&#8217;s actually working and the bugs aren&#8217;t completely derailing it. Well, most of the time.<\/p>\n<p>A simple register shift being one off caused all the problems with other characters not being able to hit without crashing the game. I was also adding health instead of wounds when striking monsters, meaning they actually got STRONGER with every hit&#8230; now monsters are dying correctly.<\/p>\n<p>Currently, I have a few more bugs I want to fix up before I try and add any new FX, like ranged weapons:<\/p>\n<ul>\n<li>The wrong monster graphics are periodically loading, and I can&#8217;t figure out why. It seems consistent for certain monster types, so I will statically fix it to one and debug into it to find out what&#8217;s going on<\/li>\n<li>You can move about the entire map now easily enough, but moving OFF the edge doesn&#8217;t end the character&#8217;s turn, and actually do some funky stuff with the interface<\/li>\n<li>You can&#8217;t actually end combat, there&#8217;s nothing tracking that all monsters are dead at present. If I get this wired up, then I need to test and debug the combat ending routines, including treasure and updating travel mode so the monster you fought is gone<\/li>\n<li>Syncing up FX and their timing is needed. The regular hit graphic disappears long before control returns to the character, making it seem a little lagged. Part of this is also having a set amount of time always pass at minimum (Say, 1\/2 second) so that you can see the combat update of a hit, miss, or critical hit, and also take longer if a FX lingers longer than that<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debugging the combat engine continues&#8230; it is really good to do so, though, since now it&#8217;s actually working and the bugs aren&#8217;t completely derailing it. Well, most of the time. A simple register shift being one off caused all the &hellip; <a href=\"http:\/\/www.adamantyr.com\/index.php\/2013\/02\/15\/debug-blues\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,4,5],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-coding","category-crpg","category-design"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgaeMJ-1b","_links":{"self":[{"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":0,"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.adamantyr.com\/index.php\/wp-json\/wp\/v2\/tags?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}