{"id":342,"date":"2024-06-07T20:08:20","date_gmt":"2024-06-08T01:08:20","guid":{"rendered":"https:\/\/www.dphrygian.com\/wordpress\/?p=342"},"modified":"2024-06-07T20:08:20","modified_gmt":"2024-06-08T01:08:20","slug":"devs-journal-7-jun-2024","status":"publish","type":"post","link":"https:\/\/www.dphrygian.com\/wordpress\/?p=342","title":{"rendered":"Dev&#8217;s Journal &#8211; 7 Jun 2024"},"content":{"rendered":"\n<p>I&#8217;m a keyboard + mouse player, and my personal preference has meant that the gamepad controls in my games haven&#8217;t usually got the love they should. But I want <em>Eldritch 2<\/em> to be great on the Steam Deck, so I&#8217;m making gamepad controls a priority this time around.<\/p>\n\n\n\n<p>Today I implemented bullet magnetism (sometimes called &#8220;magic bullet&#8221; or &#8220;auto aim&#8221;), which makes bullets go toward a target if the player aims <em>near<\/em> the target even if their reticle isn&#8217;t directly over it. I had previously added aim magnetism (sometimes called &#8220;friction&#8221; or &#8220;sticky targeting&#8221;), which slows the player&#8217;s turn speed while the reticle is near or over a target. And I&#8217;ve got a feature which I&#8217;m not sure there&#8217;s a common name for, but I remember from <em>BioShock<\/em>: a moving target can pull the player&#8217;s camera to follow it, if there is no stick input.<\/p>\n\n\n\n<p>These aim assist features are optional and can be turned off; and they are only engaged when using a gamepad to play. But I&#8217;ve been wondering if they might be useful as an accessibility feature for keyboard + mouse players too. If you&#8217;re a keyboard + mouse player who uses aim assist, let me know!<\/p>\n\n\n\n<p>I spent most of the rest of today on some UI polish, mainly adding highlights behind selected widgets. Historically, I&#8217;d always used a pulsing color to highlight the selected option, but it&#8217;s a subtle effect and could be an accessibility concern, especially on smaller screens. This simple change helps a lot.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"593\" src=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1024x593.png\" alt=\"\" class=\"wp-image-343\" srcset=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1024x593.png 1024w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-300x174.png 300w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-768x444.png 768w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1536x889.png 1536w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1200x694.png 1200w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image.png 1602w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Options menu with the Graphics option selected.<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"593\" src=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-1024x593.png\" alt=\"\" class=\"wp-image-344\" srcset=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-1024x593.png 1024w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-300x174.png 300w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-768x444.png 768w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-1536x889.png 1536w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1-1200x694.png 1200w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-1.png 1602w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Graphics Options menu with the FOV slider selected.<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"593\" src=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-1024x593.png\" alt=\"\" class=\"wp-image-345\" srcset=\"https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-1024x593.png 1024w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-300x174.png 300w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-768x444.png 768w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-1536x889.png 1536w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2-1200x694.png 1200w, https:\/\/www.dphrygian.com\/wordpress\/wp-content\/uploads\/2024\/06\/image-2.png 1602w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Quit to Desktop prompt with No selected.<\/figcaption><\/figure><\/div>\n\n\n<p>Like my menu frames, the highlight image is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/9-slice_scaling\">9-sliced texture<\/a>, so I gave it some nice rounded corners. That&#8217;s polish!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a keyboard + mouse player, and my personal preference has meant that the gamepad controls in my games haven&#8217;t usually got the love they should. But I want Eldritch 2 to be great on the Steam Deck, so I&#8217;m making gamepad controls a priority this time around. Today I implemented bullet magnetism (sometimes called [&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-342","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\/342"}],"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=342"}],"version-history":[{"count":1,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dphrygian.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}