{"id":1320,"date":"2010-06-14T21:56:09","date_gmt":"2010-06-14T10:56:09","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1320"},"modified":"2010-06-14T23:01:44","modified_gmt":"2010-06-14T12:01:44","slug":"todays-bug","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2010\/06\/14\/todays-bug\/","title":{"rendered":"Today’s bug"},"content":{"rendered":"
<\/a>So for the last few days, I’ve occasionally seen a weird graphic glitch like this; \u00a0a big band of white at the very bottom of the screen, drawing over world and UI and everything. \u00a0It would show up infrequently. \u00a0Perhaps once every hour of testing, and it would last for about three seconds, and then not be seen again for another hour or so.<\/p>\n Well today, I finally figured out what it is. \u00a0You folks who have the benefit of seeing it as a still screenshot have a better chance of guessing; \u00a0you might be able to make out the half-illegible text at the bottom. \u00a0This band of white is the remnant of the message display that would appear at the bottom of the screen in MMORPG Tycoon v1.1, when a user gained a level or completed a quest. \u00a0That message display was drawn using the “overlay” system that I talked about in a few ancient<\/a> posts<\/a>.<\/p>\n Suffice to say that when I modified the VectorStorm rendering engine to focus on fast rendering rather than eccentric rendering, that “overlay” system stopped working. \u00a0So with the new fast-drawing graphic engine, you don’t get v1.1’s gentle blue gradient backdrop; you just get a massive solid white block.<\/p>\n I was finally able to track down this graphical glitch today because I’ve fixed an awful lot more bugs today which resulted in it being visible on screen a lot more often than it used to be.<\/p>\n Here’s a small sample:<\/p>\n Here’s the thing. \u00a0I’m now at the boring point of development; \u00a0debugging AI behaviour. \u00a0It means I’m spending a lot of time just watching what the AI does, watching for things it doesn’t do at all or doesn’t do correctly, and then trying to fix it. \u00a0I can often be just staring at a single PC for five or ten minutes, just watching as he runs quests, waiting for him to do something wrong.<\/p>\n So not the most fun part of the development process. \u00a0Good thing I’m not making a game that requires a lot of complicated AI or anything, eh? \u00a0:)<\/p>\n","protected":false},"excerpt":{"rendered":" So for the last few days, I’ve occasionally seen a weird graphic glitch like this; \u00a0a big band of white at the very bottom of the screen, drawing over world and UI and everything. \u00a0It would show up infrequently. \u00a0Perhaps once every hour of testing, and it would last for about three seconds, and then…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-li","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1320"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n