{"id":413,"date":"2024-10-04T16:58:37","date_gmt":"2024-10-04T21:58:37","guid":{"rendered":"https:\/\/www.dphrygian.com\/wordpress\/?p=413"},"modified":"2024-10-04T17:03:08","modified_gmt":"2024-10-04T22:03:08","slug":"devs-journal-4-oct-2024","status":"publish","type":"post","link":"https:\/\/www.dphrygian.com\/wordpress\/?p=413","title":{"rendered":"Dev&#8217;s Journal &#8211; 4 Oct 2024"},"content":{"rendered":"\n<p>I ended up spending most of the week doing a deep dive on weapons and inventory. There are a lot of weapon- and item-related features from <em>Eldritch<\/em>\u2014mostly related to picking up and dropping items during play\u2014which I had never used in subsequent projects, and the code had all been excised or rotted over the years. It took a couple of days of intensive work, but I&#8217;ve restored all of that, and made it play nice with the more modern weapon systems I developed during <em>Slayer Shock<\/em>. I&#8217;ve also just started working on an inventory\/character sheet screen to manage weapons and other items.<\/p>\n\n\n\n<p>Since I was working on weapons, I also spent a bit revising the rules for sneak attacks, granting a slightly more generous window of opportunity and letting the sneak attack damage bonus be tunable per-weapon. I want there to be at least one weapon which favors a sneaky play style and does immense damage as a sneak attack but is largely ineffective in combat.<\/p>\n\n\n\n<p>I fixed a small but annoying issue in my music generator. Looping music cues often had a noticeable pop at the loop point, and I had previously tried to smooth it out by doing a very quick fade-out and fade-in at the ends of the track, but it was still noticeable. After some consideration, I realized I could crossfade a small portion of music at the end of the track onto itself shifted slightly in time, to extend the track&#8217;s duration, and then crossfade that with the start of the track. It creates a slight echo\/delay around the loop point, but that is barely noticeable in this game&#8217;s ambient soundtrack, and it completely fixes the pops.<\/p>\n\n\n\n<p>The other big thing I wanted to tackle this week was dungeon interiors. I haven&#8217;t started on it, but the weekend isn&#8217;t over yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ended up spending most of the week doing a deep dive on weapons and inventory. There are a lot of weapon- and item-related features from Eldritch\u2014mostly related to picking up and dropping items during play\u2014which I had never used in subsequent projects, and the code had all been excised or rotted over the years. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-413","post","type-post","status-publish","format-standard","hentry","category-eldritch-2"],"_links":{"self":[{"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/413"}],"collection":[{"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=413"}],"version-history":[{"count":3,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions"}],"predecessor-version":[{"id":416,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/413\/revisions\/416"}],"wp:attachment":[{"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}