{"id":542,"date":"2025-03-24T11:56:10","date_gmt":"2025-03-24T11:56:10","guid":{"rendered":"https:\/\/sites.wsagames.com\/sc18g23\/?p=542"},"modified":"2025-05-14T18:48:02","modified_gmt":"2025-05-14T18:48:02","slug":"week-7-reading-week-feedback-session","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/sc18g23\/2025\/03\/24\/week-7-reading-week-feedback-session\/","title":{"rendered":"Reading Week, Feedback Session"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Feedback<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Week 7 was reading week, which meant I had no lessons, but I did have a feedback session to attend with Sophie and Vanissa. It was 15 minutes long, and I showed them the work I had done for my blog. They gave me feedback on what to improve with this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This was the self assessment that Sophie sent to me after the meeting:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><u>Sam Cox<\/u><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Self assessment:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Strengths:\n<ul class=\"wp-block-list\">\n<li>Programming<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>To improve:\n<ul class=\"wp-block-list\">\n<li>Blog<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Tutor feedback:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Move blog to wordpress\n<ul class=\"wp-block-list\">\n<li>Risk of losing work if you use blogspot<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Some images not appearing<\/li>\n\n\n\n<li>Good description\/ reflection of what happened every week<\/li>\n\n\n\n<li>Add more categories than just weekly documentation<ul><li>What research did you do? Tutorials, programmers in the games industry, etc.<\/li><\/ul><ul><li>Talk about how you applied your research to the game \u2013 how did it help you improve your ideas?<\/li><\/ul>\n<ul class=\"wp-block-list\">\n<li>Talk about teamwork and communication<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Cross reference your own blog with your team blog<ul><li>Add links to show which parts of your work ended up in the final project<\/li><\/ul>\n<ul class=\"wp-block-list\">\n<li>Use this to show how you contributed to the team<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>You have done a lot more work than is evident in your blog \u2013 it\u2019s important you show us so we can grade you on it<\/li>\n\n\n\n<li>When possible talk about how your work demonstrates the learning outcomes for the module (you can find the list of them on Blackboard)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">We recommend you come to us before Easter and show us your blog after having made changes so we can confirm you\u2019re on track<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Assessment Comments<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The main thing for me was migrating the content I had created from Blogger to WordPress, although I didn&#8217;t get started with this until a few weeks later. Another thing was replacing corrupted images.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another area for improvement is adding the work I&#8217;ve done so far in that week. One way I could do this is by adding references to each of my blog posts where needed in addition to a bibliography page which contains all of the references I&#8217;ve used. Finally, I could add sections to the blog posts on how I have improved my communication skills with my teammates.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Game Improvements<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I asked Guy what I needed to get done today, he asked for a progress video and I sent it to him:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"378\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-1024x378.png\" alt=\"\" class=\"wp-image-546\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-1024x378.png 1024w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-300x111.png 300w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-768x284.png 768w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-1536x568.png 1536w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58-850x314.png 850w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.41.58.png 1770w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Kinetic Panic - 11\/03\/2025\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/HF_0PD_Ca1A?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\">Here&#8217;s how he responded:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"308\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-1024x308.png\" alt=\"\" class=\"wp-image-548\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-1024x308.png 1024w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-300x90.png 300w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-768x231.png 768w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-1536x462.png 1536w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15-850x256.png 850w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.50.15.png 1728w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Music<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While I had been working on the programming, Esi, while contributing to the art, has also been making some music for the game.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On March 12, she put one of the songs she had been working on in the Discord server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"874\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30-1024x874.png\" alt=\"\" class=\"wp-image-527\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30-1024x874.png 1024w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30-300x256.png 300w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30-768x655.png 768w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30-850x725.png 850w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-12.57.30.png 1242w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Basic Audio<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I then began to integrate this music into the game. One of the first things I did was make a new GameObject (GO) called MusicManager, which, of course, holds the music for the game. Creating a new GO for the music script instead of putting it in the GameManager GO had a benefit of being able to implement Singletons how I wanted, which is what I will go into shortly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Within the MusicManager GO, I created a new script of the same name where I would store the music file. Esi had exported the music file as a .mp3, which does works in Unity, but from past experience working on a jam game called The Patron, I expect that the file won&#8217;t play when using the game in WebGL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Getting the music to play isn&#8217;t a difficult endeavor, all I need to do is add a AudioSource component and then the following code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    &#091;SerializeField] AudioClip&#091;] audioClips;\n    AudioSource audioSource;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    void Start()\n    {\n        audioSource = GetComponent&lt;AudioSource&gt;();\n        audioSource.clip = audioClips&#091;0];\n        audioSource.Play();\n    }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first 2 lines give us references to play with, that being the audio files and the AudioSource component. In the Start function, the AudioSource is cached, its Clip variable is set to the first file in the audioClips array, and then it plays the clip. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One more step to make sure it works, in the AudioSource component, I made sure that the Spatial Blend slider is to the left, to indicate 2D audio, rather than to the right, which would make the audio 3D or based on the environment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Singletons<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If we run this code now, it does work, however one issue is that if the player falls off the map, the game reloads the current scene, resetting the audio. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The way around this is by using a coding technique called a Singleton Pattern. What I am doing is that, when the scene loads, the code checks to see if the same component already exists, if it does, then it destroys itself, if it doesn&#8217;t, then it sets itself as the instance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Implementing this took a bit more research than usual, but here&#8217;s the result:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    private static MusicManager instance = null;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    public static MusicManager Instance\n    {\n        get { return instance; }\n    }\n\n    private void Awake()\n    {\n        if (instance != null &amp;&amp; instance != this) \/\/ If another instance exists and is not this one, destroy this.\n        {\n            Destroy(gameObject);\n            return;\n        }\n        else \/\/ Otherwise, set the instance to this.\n        {\n            instance = this;\n        }\n        DontDestroyOnLoad(this);\n    }\nI told Esi that I had implemented music into the game and she responded by saying that it was an iterative process.<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"328\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38-1024x328.png\" alt=\"\" class=\"wp-image-553\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38-1024x328.png 1024w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38-300x96.png 300w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38-768x246.png 768w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38-850x272.png 850w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-24-at-11.53.38.png 1424w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Ability Multiplier<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Something else I worked on this week was an ability multiplier, this was intended to be a float that had an effect on the ability that was being casted, for the gravity ability, it could be that the objects get sent higher, and for the possession ability, it could be that the objects move faster. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I started by adding a new Input for the InputAction. It was initially 2 Inputs, ScrollUp and ScrollDown, but with some coding help from Discord for the script, I was later able to merge the 2 into 1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"414\" height=\"366\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20.png\" alt=\"\" class=\"wp-image-531\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20.png 414w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20-300x265.png 300w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"414\" height=\"366\" src=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20.png\" alt=\"\" class=\"wp-image-531\" srcset=\"https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20.png 414w, https:\/\/sites.wsagames.com\/sc18g23\/wp-content\/uploads\/sites\/9\/2025\/03\/Screenshot-2025-03-21-at-14.34.20-300x265.png 300w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the PlayerAbility script, I added 2 functions, one that would handle scrolling up, and the other that would handle scrolling down.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void ScrollUp()\n    {\n        float newAbility = abilityMultiplier += Time.deltaTime;\n        if (newAbility &gt; abilityMultiplierMax) return;\n        abilityMultiplier = newAbility;\n        Debug.Log($\"Scrolling up ability multiplier: {abilityMultiplier}\");\n    }\n    void ScrollDown()\n    {\n        if (abilityMultiplier &gt; 0)\n        {\n            abilityMultiplier -= Time.deltaTime;\n        }\n        else\n        {\n            abilityMultiplier = 1;\n        }\n        Debug.Log($\"Scrolling down ability multiplier: {abilityMultiplier}\");\n    }\n\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">FPS Counter Removal<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, following the advice from Guy, I removed the FPS counter from the top left of the screen as it was confusing the other developers and potentially players too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Feedback Week 7 was reading week, which meant I had no lessons, but I did have a feedback session to attend with Sophie and Vanissa. It was 15 minutes long, and I showed them the work I had done for my blog. They gave me feedback on what to improve with this. This was the&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-semester-2-kinetic-panic"],"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":11,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":699,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/posts\/542\/revisions\/699"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/sc18g23\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}