<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kennan Jones on Medium]]></title>
        <description><![CDATA[Stories by Kennan Jones on Medium]]></description>
        <link>https://medium.com/@k3nnanj0nes?source=rss-ce28419ee98a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ole7rCFgy0IeRxTs</url>
            <title>Stories by Kennan Jones on Medium</title>
            <link>https://medium.com/@k3nnanj0nes?source=rss-ce28419ee98a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:56:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@k3nnanj0nes/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Host Unity Games on the Web]]></title>
            <link>https://medium.com/@k3nnanj0nes/how-to-host-unity-games-on-the-web-2cd30bb91a0e?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cd30bb91a0e</guid>
            <category><![CDATA[webgl]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Tue, 01 Oct 2024 23:09:57 GMT</pubDate>
            <atom:updated>2024-10-01T23:09:57.944Z</atom:updated>
            <content:encoded><![CDATA[<p>To host your game on Unity rthe web you must build your game as a webGL in Unity.</p><p>To do so, go to file then build Settings and select WebGL on the left</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*xLmR1LDLtqGmAR4Fq-74_Q.png" /></figure><p>Choose your desired settings and then click Build. You will then need to create a new GL folder and then Unity will begin to convert the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*HsbHH0mSjY0SBJfJeI9OTw.png" /></figure><p>Double Click the index and your game should now play on the web!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cd30bb91a0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build and Test your Unity Game]]></title>
            <link>https://medium.com/@k3nnanj0nes/how-to-build-and-test-your-unity-game-aa92635a208e?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa92635a208e</guid>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Mon, 23 Sep 2024 23:15:15 GMT</pubDate>
            <atom:updated>2024-09-23T23:15:15.715Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will be on how to build your game.</p><p>Open build settings: File &gt; Build Settings</p><p>From here you can edit any player settings and other things like resolution, window type, the platform on which you want to run the game on and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*2R2HfOCqrcbY8ilkfD_YNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*rLaxz1fyiCTp1rRwGOV43g.png" /></figure><p>Once you are satisfied with the settings click build at the bottom of the box to select your folder and save the game.</p><p>After Unity is done compiling you will have your application ready to play!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa92635a208e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Play Sound Effects in Unity]]></title>
            <link>https://medium.com/@k3nnanj0nes/how-to-play-sound-effects-in-unity-60e80fde48da?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/60e80fde48da</guid>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[sound-effects]]></category>
            <category><![CDATA[unity]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Mon, 16 Sep 2024 21:59:53 GMT</pubDate>
            <atom:updated>2024-09-16T21:59:53.393Z</atom:updated>
            <content:encoded><![CDATA[<p>Playing sound effects in Unity can be tricky sometimes but I found a solution!</p><p>After researching unity documentation, I found that using PlayClipAtPoint in the code instead of AudioSource so will cause the the sound clip to not be destroyed during gameplay as soon as it is run.</p><p>PlayClipAtPoint will play audio at a given position in the space and automatically dispose once played.</p><p>Refer in the code what audio needs to be played.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*2Yfx_kaQoRJ6jzVbnRmGrw.png" /></figure><p>You can now add your audio clip. Select all vairbales that apply and drag over to the new slot for audio clip.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*s0AzS4olXls-1cLTxh8vYQ.png" /></figure><p>Next add the AudioSource.PlayClipAtPoint and in the parenthesis, declare what position you want the sound to play.</p><p>Save changes and you should have the sounds playing as intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*G-SpxM58wtg7qOvj6tSH8w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60e80fde48da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Immersion Starts with Sound]]></title>
            <link>https://medium.com/@k3nnanj0nes/immersion-starts-with-sound-58eac1a4b09a?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/58eac1a4b09a</guid>
            <category><![CDATA[bgm]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 23:44:27 GMT</pubDate>
            <atom:updated>2024-09-03T23:44:27.466Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will be on how to add background music to our game.</p><p>To start, create a new game object called audio manager and within this another object titled background to help keep organized when adding more sounds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3uPUJ7NFgzwoDoC9tCJqkw.png" /></figure><p>From here we can drag any clip we like to the audio clip box and there you have it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58eac1a4b09a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bring your game to AAA status through Post Processing!]]></title>
            <link>https://medium.com/@k3nnanj0nes/bring-your-game-to-aaa-status-through-post-processing-07178969bb07?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/07178969bb07</guid>
            <category><![CDATA[post-processing]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 23:19:04 GMT</pubDate>
            <atom:updated>2024-09-03T23:19:04.252Z</atom:updated>
            <content:encoded><![CDATA[<p>Post processing is where we can make more drastic changes to our game.</p><p>To get started, add a new game object titled post processing volume and set this to Is Global so it effects the game entirely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*4cYgV65guB-ERmVns33SdA.png" /></figure><p>You can now choose the add effect button at the bottom of this PPV inspector. There is a nice sized list of effects to choose from!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*c9q4DBXRyo9wZOPzsK6X8g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07178969bb07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Damage VFX using Animated Sprites in Unity]]></title>
            <link>https://medium.com/@k3nnanj0nes/damage-vfx-using-animated-sprites-in-unity-5114bbc95f79?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5114bbc95f79</guid>
            <category><![CDATA[vfx]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[sprite]]></category>
            <category><![CDATA[animation]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Mon, 02 Sep 2024 15:27:59 GMT</pubDate>
            <atom:updated>2024-09-02T15:27:59.759Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will be showing how to add damage FX on a player sprite.</p><p>When my player gets hurt, I want to visualize that moment with the spaceship engines catching fire.</p><p>To display this we add our assets to the scene and adjust how we like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*k0CFcBqs0Q7plEyLTkzneQ.png" /></figure><p>Next we will edit the player script to reflect when the damage animation will start.</p><p>Create two private game objects for each engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*Mr5oOPOrk4d1MTkr2UBJqA.png" /></figure><p>Next, create an if else sequence that will determine what happens when you reach 2 lives then 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*cIYDCVlkls3oGqHfiNf0Tw.png" /></figure><p>Save these changes and we must now create the animation for both engines in Unity.</p><p>Drag your animations into the animator tab and save scene. Then drag them onto the animation inspector for each engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EofCcxTCVi-R5ZX_lac8ZQ.png" /></figure><p>Run the game and you should now see the players engines burst into flames as they are hurt!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cy7CO5ShAEWw7Zr3SpAKag.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5114bbc95f79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Enemy Explosions]]></title>
            <link>https://medium.com/@k3nnanj0nes/creating-enemy-explosions-fda67cc5795e?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fda67cc5795e</guid>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[settrigger]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Mon, 26 Aug 2024 21:37:54 GMT</pubDate>
            <atom:updated>2024-08-26T21:37:54.136Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will be on how I created an explosion animation for the enemies of my game.</p><p>With an enemy selected, go to the animation tab and click create. Save the animation after renaming.</p><p>Click and drag all the desired animations on to the animation window. Test out your animation before saving.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_G_LTlIqRXNOtmoymcjPpw.png" /></figure><p>Keep in mind, the animation will play automatically and loop by default. You can change these settings on the inspector when selecting an animation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*FUJPZ9yOt30kyzyj_ksGUQ.png" /></figure><p>Even after this change the explosion will be still too early due to how the entry is set. We need to add a new empty entry that will need to run before the enemy destroyed animation.</p><p>Right click in the animator tab and create a new empty state to attach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5xUj3k9tzRBPpx_W53YCg.png" /></figure><p>Now that the empty state has been added, we need to add a parameter which will trigger the animation instead of waiting for a certain amount of time.</p><p>Clicking the plus next to the animator’s search bar you can select from in, name, bool and trigger. For this case we need an OnTrigger event.</p><p>Click the arrow from empty to enemy destoryed and add the OnEnemyDeath trigger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v-bXPToxLP9Dx12oqSjrdA.png" /></figure><p>Now that the animation has ben set the coding can begin!</p><p>The goal is to set the trigger we created on enemy death.</p><p>We first create a handle to our animator component for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*bqsWcoe82wbmVvP6OFkHYQ.png" /></figure><p>Then the component needs to be assigned:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*e6UuJ04_euvGZ7b2s7VXGQ.png" /></figure><p>Lastly we set where and when these triggers take place, the speed of the animation etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*xG1k-5ewF2MJ_DsvKkC0kg.png" /></figure><p>Afterwords we should now have a full explosion when the enemy is hit!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*H9niA2mu1aZo1PEoE_-6lg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fda67cc5795e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Loading Scenes in Unity]]></title>
            <link>https://medium.com/@k3nnanj0nes/loading-scenes-in-unity-ebce877761a5?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebce877761a5</guid>
            <category><![CDATA[scenes]]></category>
            <category><![CDATA[untiy]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Sun, 25 Aug 2024 13:32:06 GMT</pubDate>
            <atom:updated>2024-08-25T13:32:06.038Z</atom:updated>
            <content:encoded><![CDATA[<p>When you are ready to create another part of your game in Unity, a new scene is required.</p><p>Save the current scene and then go to file &gt; New Scene</p><p>The example for this article will be transitioning from the menu screen to the actual game.</p><p>After creating the Title screen and editing the background / colors how you see fit, Attach the Main menu manager script to the canvas.</p><p>Make sure the scale is set correctly and buttons are anchored.</p><p>Since the main menu will be responsible for launching the game we will code a method to load the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*mA6bus-2_G31vPHIJKZzbw.png" /></figure><p>Under builds settings in Unity, the scenes will need to be in order from top to bottom if you want to see them in order. Make sure to set the main menu at the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*x88CYm4oHoB5ckYuO9TF3w.png" /></figure><p>Lastly the OnClick event for the new game button has to be able to load the game to the next scene. Select the load game method we set early in the code for this drop down selection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*n9NNFFLnl5dpMT45qwCbYA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebce877761a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Retro Game Over Behavior]]></title>
            <link>https://medium.com/@k3nnanj0nes/creating-a-retro-game-over-behavior-b5e482d8c2ee?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5e482d8c2ee</guid>
            <category><![CDATA[while]]></category>
            <category><![CDATA[loop]]></category>
            <category><![CDATA[coroutine]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Tue, 20 Aug 2024 23:47:50 GMT</pubDate>
            <atom:updated>2024-08-20T23:47:50.823Z</atom:updated>
            <content:encoded><![CDATA[<p>To capture the feeling of a retro video game, the classic flashing “GAME OVER” was been a staple in gaming. This article will be on how to use both coroutines and while loops to pull this off.</p><p>Because we have the if statment checking for 0 lives and the gameover text object is set to true, we can call a coroutine.</p><p>First create an IEnumerator and call it GameOverFlickerRoutine</p><p>Next we need an infinite while loop where game over will flash every .5 seconds.</p><p>Once game over is reached the yield return will trigger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*irKDqk3ynoVba_jM7hAdUQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5e482d8c2ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ease of Building UI Elements in Unity]]></title>
            <link>https://medium.com/@k3nnanj0nes/ease-of-building-ui-elements-in-unity-9d9c134ada40?source=rss-ce28419ee98a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d9c134ada40</guid>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Kennan Jones]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 22:51:17 GMT</pubDate>
            <atom:updated>2024-08-07T22:51:17.798Z</atom:updated>
            <content:encoded><![CDATA[<p>Building the user interface of your game in Unity is fairly simple. In this article I will go over how I added a lives system for the space shooter.</p><p>In the hierarchy window in Unity, right click on the canvas and select UI &gt; Image. We can then rename this and choose the area we want the image to go. In this case top left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*5_C49t2A-EduY6W5ITgwGw.png" /></figure><p>In order to actually display the lives we now need to edit the UIManager script so that we can make changes in Unity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*952_eeRxwdPi_u1ZsGikog.png" /></figure><p>You will now see that we can drag the sprites based on how many lives we have on the inspector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*JiuQb3i7d-ONIM6VkWOSSQ.png" /></figure><p>Lastly, we must create logic so that when the player is hit the lives image changes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*BCQeN2YeItY0mw9X_wmiVA.png" /></figure><p>After saving you should now see the lives deplete with each hit unless you have the shield powerup collected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*ISVkagV7YfnNkDt4D0is9A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d9c134ada40" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>