{"id":33,"date":"2009-07-18T19:29:31","date_gmt":"2009-07-18T17:29:31","guid":{"rendered":"https:\/\/blogs.scummvm.org\/dkasak\/?p=33"},"modified":"2022-04-15T19:30:27","modified_gmt":"2022-04-15T17:30:27","slug":"stumbling-blocks","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/dkasak\/2009\/07\/18\/stumbling-blocks\/","title":{"rendered":"Stumbling blocks\u2026"},"content":{"rendered":"<p>This is just a quick update about the current progress to satisfy the one-post-per-week requirement but I\u2019ll have another more elaborate post in a few days. Hopefully by then I\u2019ll have a more featureful main loop than now.<\/p>\n<p><!--more--><\/p>\n<p>The feature I was mostly occupied with during the last few days\u2014and that turned out to be unexpectedly complicated (nothing major but many slight annoyances)\u2014are walking maps. My plan to quickly implement that and move on failed spectacularly. ? The maps are stored in a slightly weird bitmap format so obscure bugs were abound. Of course, once I actually added them successfully a whole other set of subtle animation bugs was exposed (the lack of relative coordinate support being one of them :D) so that also took quite a while. However, I\u2019m proud to say the dragon animation can now be moved around the room correctly. Yay!<\/p>\n<p>Naturally, life would be too easy if this was to be the end of my troubles. I realised shortly afterwards that there were some 6-byte Pascal reals stored in the data files (and very vital ones at that, if I want to implement scaling the dragon properly). This means I had to decipher their format; a task I\u2019ve tackled successfully\u2026 I think. I have implemented a Python prototype of the converter and it seems to work fine. This means I\u2019ll add scaling next and then move on to making the dragon walk from location to location itself (this means pathfinding and it makes me shiver).<\/p>\n<p>I think that\u2019s it for now. Getting back to coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just a quick update about the current progress to satisfy the one-post-per-week requirement but I\u2019ll have another more elaborate post in a few days. Hopefully by then I\u2019ll have a more featureful main loop than now.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/33\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}