{"id":2395,"date":"2025-05-14T16:44:36","date_gmt":"2025-05-14T16:44:36","guid":{"rendered":"https:\/\/sites.wsagames.com\/ab15g23\/?p=2395"},"modified":"2025-05-15T14:52:53","modified_gmt":"2025-05-15T14:52:53","slug":"those-left-behind-v2-pt-4","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/ab15g23\/those-left-behind-v2-pt-4\/","title":{"rendered":"Those Left Behind V2 Pt. 4"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\">This is day 3 of week 12 &#8211; hand-in is <strong>tomorrow<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">As the last full of day of working on the project, we needed to fix the save issue. It is the number 1 priority. The rest of my work will be odd jobs to improve the overall experience of the game.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fade-in Scene Change<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I wanted to add a smooth fade-in\/out effect when transitioning from the main menu to the game. It\u2019s a subtle change, but I think it will really improve the overall flow and presentation. I used the below tutorial to do this. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Enhance Your Unity Game with Scene Fade Transitions\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/vkOhefMbrFg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In short, I created a scene controller prefab with a <strong>coroutine <\/strong>that will animate an image in the CanvasGroup\u2019s alpha to fade out to black before loading the new scene, and then fade back in once the scene has loaded.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s a small visual polish but it helps make the shift between scenes feel more seamless.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"684\" style=\"aspect-ratio: 1220 \/ 684;\" width=\"1220\" controls src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/20250514-1337-37.6667335.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Character Portraits<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Currently, when a character task is complete both the character portrait and panel are hidden from view to be innaccesible, however I think this looks a little silly as it leaves the entire blue panel beneath looking empty. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I opened the Task Manager script and once I saw that it was a whopping 900 lines of code, I decided on a much easier solution. I created a new image object of the character portraits, greyed them out and then slot them beneath where the task panel character portrait buttons are. This way, when a task is complete, all of the Task UI will be hidden except for the separate greyed out portrait, displaying that the character&#8217;s task has been done.<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"408\" style=\"aspect-ratio: 384 \/ 408;\" width=\"384\" controls src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/20250514-1346-46.3296311.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Character Dialogue<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the help of Rosie, we completed the dialogue lines for each character including the addition of their expressions. There were some scaling issues but that was quickly sorted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is an example of one of the complete scenes:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"674\" style=\"aspect-ratio: 1194 \/ 674;\" width=\"1194\" controls src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/Full-patty-dialogue.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We aimed to keep it short while still revealing bits and pieces about the world and it&#8217;s characters, we could definitely have taken this further and improved the quality of writing; less obvious exposition, explained the character relationships better, have player dialogue responses etc.. For the time we have, it was acceptable that our dialogue was on par with a Netflix Original script.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Save Problem<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ross was able to find time to help us today and started by working on a separate branch of the game dedicated to sorting out the save problem. He was able to offer us a quick solution:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1387\" height=\"534\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-51.png\" alt=\"\" class=\"wp-image-2407\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-51.png 1387w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-51-300x116.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-51-1024x394.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-51-768x296.png 768w\" sizes=\"(max-width: 1387px) 100vw, 1387px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This worked! And of course, it was just one line. I also asked Joe for an update on his work.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1005\" height=\"372\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-52.png\" alt=\"\" class=\"wp-image-2409\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-52.png 1005w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-52-300x111.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-52-768x284.png 768w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I made a build of the game to test that everything was working which lead to a few unfortunate issues.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"779\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-54-1024x779.png\" alt=\"\" class=\"wp-image-2417\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-54-1024x779.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-54-300x228.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-54-768x584.png 768w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-54.png 1107w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We were able to merge both of our branches together to create a semi-complete game however we really struggled to sort out why the tasks were no long saving between scene transitions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"346\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-53-1024x346.png\" alt=\"\" class=\"wp-image-2426\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-53-1024x346.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-53-300x101.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-53-768x260.png 768w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-53.png 1240w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I kept trying all sorts of ways to debug the problem, the camps&#8217; state is being lost between scene transitions and the most frustrating thing is that this was not happening beforehand. I will make use of tomorrow&#8217;s emergency tech session to sort out as many problems with the game as possible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"149\" src=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-55-1024x149.png\" alt=\"\" class=\"wp-image-2435\" srcset=\"https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-55-1024x149.png 1024w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-55-300x44.png 300w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-55-768x112.png 768w, https:\/\/sites.wsagames.com\/ab15g23\/wp-content\/uploads\/sites\/5\/2025\/05\/image-55.png 1239w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is day 3 of week 12 &#8211; hand-in is tomorrow As the last full of day of working on the project, we needed to fix the save issue. It is the number 1 priority. The rest of my work will be odd jobs to improve the overall experience of the game. Fade-in Scene Change [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-2395","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/comments?post=2395"}],"version-history":[{"count":15,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2395\/revisions"}],"predecessor-version":[{"id":2475,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/posts\/2395\/revisions\/2475"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/media?parent=2395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/categories?post=2395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/ab15g23\/wp-json\/wp\/v2\/tags?post=2395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}