{"id":36,"date":"2009-07-27T19:30:29","date_gmt":"2009-07-27T17:30:29","guid":{"rendered":"https:\/\/blogs.scummvm.org\/dkasak\/?p=36"},"modified":"2022-04-15T19:31:13","modified_gmt":"2022-04-15T17:31:13","slug":"half-past-7","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/dkasak\/2009\/07\/27\/half-past-7\/","title":{"rendered":"Half past 7"},"content":{"rendered":"<p>That\u2019s what the time is over here. And I don\u2019t mean PM. Nor do I ever wake up this early (yes, I\u2019m one of those people who rarely see morning). Don\u2019t you just hate it when \u201cOkay, I\u2019ll just implement this trivial feature, for which my mighty libraries are fully prepared for, by adding this line over here\u201d turns into a mad multiple-hour bug hunting spree? Not to mention the joy I then experienced when I realised I haven\u2019t yet blogged this week.<\/p>\n<p>There. I feel much better now. ?<\/p>\n<p><!--more--><\/p>\n<p>And now for something completely different\u2026 I\u2019ve implemented a number of features this week but it still felt a bit under productive all through until now. I\u2019ve just added support for detecting the objects under the cursor and immediately afterwards a tentative mechanism for running the look and use scripts for the object. To my pleasant surprise, things happily started twisting and turning when I clicked on them and that really added to my enthusiasm. It also went a long way toward making the game feel alive (or at least having a faint pulse).<\/p>\n<p>Other than that, I\u2019ve implemented a number of GPL commands. Some of them (Release and Mark) needed yet another addition to the Animation library (I think it\u2019s determined to haunt me forever). Others, like the objStat* family, unlocked some more dormant functionality. I\u2019ve also finished handling the room perspective and all other scaling in the game, so the animations now support all kinds of size trickery. This means the NoSense logo at the beginning now works. Some of the \u201cminor\u201d things include lots of bug fixes and handling of multi-line text.<\/p>\n<p>There is also one other feature I have hacked a prototype for in Python but that hasn\u2019t yet made it to my branch; yes, you guessed it\u2014pathfinding! The original engine seems to use some kind of a modified version of A* but there\u2019s a lot of global-variable callbacky fun to be had there so I\u2019m still trying to decipher some of the finer details (which I\u2019ll discuss with Robert when I catch him online). My Python A*-ish simulation of the algorithm seems to be working fine but it\u2019s undoubtedly going to be a pain integrating it.<\/p>\n<p>As for other future plans, tomorrow is the day I\u2019ll add support for the NewRoom GPL command so I can walk between rooms and start work on dialogues\/talking. There are also some other commands that are crying for implementation and many bugs I\u2019ve uncovered by enabling using and looking at objects, so I\u2019ll have my way with those.<\/p>\n<p>Until next time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>That\u2019s what the time is over here. And I don\u2019t mean PM. Nor do I ever wake up this early (yes, I\u2019m one of those people who rarely see morning). Don\u2019t you just hate it when \u201cOkay, I\u2019ll just implement this trivial feature, for which my mighty libraries are fully prepared for, by adding this [&hellip;]<\/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-36","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/36","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=36"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":38,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/posts\/36\/revisions\/38"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/dkasak\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}