<?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 Jhaylatjackson on Medium]]></title>
        <description><![CDATA[Stories by Jhaylatjackson on Medium]]></description>
        <link>https://medium.com/@jhaylatjackson158?source=rss-d7e873294fe7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hf_cbDa3Dy0TktKmMBfL8A.jpeg</url>
            <title>Stories by Jhaylatjackson on Medium</title>
            <link>https://medium.com/@jhaylatjackson158?source=rss-d7e873294fe7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:53:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jhaylatjackson158/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[Creating Enemy Explosions]]></title>
            <link>https://medium.com/@jhaylatjackson158/creating-enemy-explosions-1ede1c35364a?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ede1c35364a</guid>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[attention-to-detail]]></category>
            <category><![CDATA[swift-programming]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 18:38:26 GMT</pubDate>
            <atom:updated>2026-01-15T18:38:26.981Z</atom:updated>
            <content:encoded><![CDATA[<p>Now we’re getting to the good stuff! Giving this game the boom it needs to make a more immersive experience for the player. The great thing about coding the skeleton of a game is that once you’re ready to add the skin and outfit, it’s easy to find where those pieces will fit. Since there is already logic for when the enemy is destroyed, either by hitting the player or a laser, then all I had to do was make sure: the animation plays before the object is completely destroyed and make sure the enemy’s box collider deactivates so the player doesn’t lose a life after the enemy has been seemingly destroyed. Making the animation logic was also a new hurdle to overcome, as soon as I added the animation to the enemy object I tried to run the game and the enemies just began to play their destroyed animation! As cool as it was to see, I had to remember that the animator also has to be tweaked that way it knows <em>when </em>to activate the animation! With everything in place, the player can satisfyingly watch as their enemies are blown to bits!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*nSkfQY_utJ7XTTH-L3Q_iA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ede1c35364a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Loading Scenes in Unity]]></title>
            <link>https://medium.com/@jhaylatjackson158/loading-scenes-in-unity-5e9c6e7a8f63?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e9c6e7a8f63</guid>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[unity-scripting]]></category>
            <category><![CDATA[scene-management]]></category>
            <category><![CDATA[problem-solving]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 00:20:50 GMT</pubDate>
            <atom:updated>2026-01-15T00:20:50.952Z</atom:updated>
            <content:encoded><![CDATA[<p>While making the ending game over screen I also created the text letting the user know to press the R key to restart the level. This should be easy; all I have to do is restart the scene when the player hits R! I go back in my code and do the logic, easy peasy, but when I go to run the game, the scene isn’t restarting! I’m sure that I’m using the correct logic, but nonetheless the scene won’t restart. I decided I need to make some debugging logs to see why the players input is not recognized. What I came to realize is that I was putting the logic that checks for the player input in a method that is only called when the player is getting damaged, and the logic should be going in a method that is constantly being called each frame like update!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*8PpR7hT5D3KtXeoymKepQQ.png" /></figure><p>Once I moved my code around and ran the game again the restart key began to work seamlessly and only when it should. Getting stuck in those moments always throws me for a loop, but it’s always just a small change that makes all the difference.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e9c6e7a8f63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Retro “Game Over” Behavior]]></title>
            <link>https://medium.com/@jhaylatjackson158/creating-a-retro-game-over-behavior-fe946f703d9c?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe946f703d9c</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[details]]></category>
            <category><![CDATA[retro-gaming]]></category>
            <category><![CDATA[progress]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Wed, 14 Jan 2026 17:52:02 GMT</pubDate>
            <atom:updated>2026-01-14T17:52:02.920Z</atom:updated>
            <content:encoded><![CDATA[<p>My favorite thing about Unity is that you can really make whatever you want with the right tools and “know how”. Everything I’ve made so far, I have literally had to make from scratch and implement every mechanic to simulate what I’m trying to achieve. In order to get the game over text to display I knew I would need to deactivate it when the game starts and activate the text when the player is out if lives. However, getting the game over text to flicker is something I haven’t done before. In my mind I thought of some ways I could do that by just activating and deactivating the object in update, but I knew that would be a waste of space and not best practice. What I like to do when I get stumped is I’ll go back and look at work I’ve already done to see if there’s a feature that behaves similarly to what I’m working on. Surely enough in my spawn manger script I use an IEnumerator to time when enemies spawn in, so I figured out I can do the same thing to time when the game over text activates and deactivates, mimicking the text flickering! I knew this wouldn’t be a hard feature to implement but I also wanted to make sure I used an optimized method to get the desired output, and I believe it was a success!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*rml1uWo5BcR9jMMvZlMgJA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe946f703d9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ease of Building UI Elements in Unity]]></title>
            <link>https://medium.com/@jhaylatjackson158/ease-of-building-ui-elements-in-unity-c0fa82eb90f7?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0fa82eb90f7</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Tue, 13 Jan 2026 21:30:04 GMT</pubDate>
            <atom:updated>2026-01-13T21:30:04.067Z</atom:updated>
            <content:encoded><![CDATA[<p>The user interface of an application is a lot like the lead singer in a band. This is going to be the face of the game and what the player will mostly see.</p><p>As I’ve been developing my game, with each feature I made I also created the UI that has to flow with it, but there were key pieces that still needed to be implemented so the player can see what’s going on. There is now an image in the player top-left corner so they can see the number of lives they have, and there is a score counter in the top-right corner for enemies defeated!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*IJsl-K_XZKCDaNiRv5U6pA.png" /></figure><p>Most of the logic for the players lives and defeating an enemy have already been completed, so all I had to do was go back in my code and check to see when those events happen that the UI elements are also updated accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*S44GGXZPsbLDem2zNy4K4g.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0fa82eb90f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preventing Player Damage]]></title>
            <link>https://medium.com/@jhaylatjackson158/preventing-player-damage-d63d0a1b74fc?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d63d0a1b74fc</guid>
            <category><![CDATA[shield]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[unity-scripting]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Tue, 13 Jan 2026 16:00:28 GMT</pubDate>
            <atom:updated>2026-01-13T16:00:28.130Z</atom:updated>
            <content:encoded><![CDATA[<p>While implementing the shield powerup there were two things I learned: how to activate/deactivate a game object and how to keep the players lives from depleting when they have the shield powerup!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*cCLYcS3Cpj1Pl4tpCFD5WA.png" /><figcaption>Damage method that checks if the shield is active.</figcaption></figure><p>For context, when I made my western game in Unity, I made a boss level where the player and enemies have guns, so the player has to eliminate all the enemies in order to win. However, I forgot to implement a damage feature! So, when the player got to the last level and shots are being fired, the bullets just bounce off the player! It was funny to see but I realized I wasn’t completely sure how to make a damage system. Thankfully, working with GameDevHq I’m learning how to troubleshoot and problem solve, so if there is something I’m trying to do but don’t quite know how to do it I can figure it out. Looking into Unity’s scripting API showed me how to use SetActive, and since I already made a damage system for the player, I was able to successfully keep the player from losing a life with the shield activated!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*l24pjmv99Ghi04vpf4HTfQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d63d0a1b74fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Switch Statements to The Rescue!]]></title>
            <link>https://medium.com/@jhaylatjackson158/switch-statements-to-the-rescue-6be0194271bc?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6be0194271bc</guid>
            <category><![CDATA[2d-game-development]]></category>
            <category><![CDATA[efficiency]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 22:10:55 GMT</pubDate>
            <atom:updated>2026-01-10T22:10:55.057Z</atom:updated>
            <content:encoded><![CDATA[<p>In my time of being a developer I’ve noticed there are so many ways to achieve the same goal when coding. However, just because the code works doesn’t necessarily mean it’s the best implementation. Personally, I’ve noticed that in order for me to grasp what I’m trying to accomplish I will just work it out in a way that makes sense in my head, and then if what I did works I will go back and optimize the parts of my code that can be done in a more efficient/professional manner! So, with the modular powerup system I’m using in my 2D space shooter, instead of using if-else statements another quick and efficient method is using a switch statement! Since I only have a few powerups it’s not a huge deal to use if-else statements, but if I were to add more powerups or even obstacles to the game, using a switch statement is the better choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*y_GgFEzFmGLujfo3yLwEDA.png" /><figcaption>Switch statement for powerups.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6be0194271bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Modular Powerup Systems]]></title>
            <link>https://medium.com/@jhaylatjackson158/creating-modular-powerup-systems-ed42c07fb5d9?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed42c07fb5d9</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[modular-system]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[made-with-unity]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 19:17:59 GMT</pubDate>
            <atom:updated>2026-01-09T19:17:59.772Z</atom:updated>
            <content:encoded><![CDATA[<p>The first powerup I created, the triple shot, was very simple and straight-forward to create and get activated. However, there are more powerups I want to implement, and I want to be sure if I need to make changes or add things later that my code is made efficiently to do so. The best way I can do that is by giving every powerup an ID and creating a variable to equal whichever powerup has been collected by the player!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*70s4KklbJg8wfRjFOUFmxg.png" /></figure><p>While it is possible to create a new script for every powerup I have, it’s not the best practice when trying to optimize space and resources. Since the powerups operate very similarly, it’s better to create one script attached to all of the powerups and then decide in the script which is which!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*8htTv4AjbAPMLdf0J7N35Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed42c07fb5d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting To Feel Like a Real Video Game!]]></title>
            <link>https://medium.com/@jhaylatjackson158/starting-to-feel-like-a-real-video-game-2dab072fee7f?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dab072fee7f</guid>
            <category><![CDATA[progress]]></category>
            <category><![CDATA[attention-to-detail]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 18:46:42 GMT</pubDate>
            <atom:updated>2026-01-09T18:46:42.850Z</atom:updated>
            <content:encoded><![CDATA[<p>A good video game doesn’t have to have the best graphics, or a super intricate soundtrack. To make a good game just takes some attention to detail that can be appreciated in many little ways. When I first started creating my 2D space shooter it was just bones! I had a ship, a laser, and some enemies. Now, I have a galaxy background that adds to the ambiance of the game, the enemy ships spawn in randomly making the game more realistic, and there are cool powerups with animations that can help the player out! Now this isn’t Game of the Year or anything but it’s definitely something you would have seen at an arcade once upon a time. These small additions are what make a game enjoyable to play and I have loved seeing the progress unfold in front of me!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*pu6ZEJAtlWj7VUn2219h5g.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dab072fee7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Animating Sprites in Unity]]></title>
            <link>https://medium.com/@jhaylatjackson158/animating-sprites-in-unity-2713b7962383?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2713b7962383</guid>
            <category><![CDATA[sprite-animation]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[animation]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 19:05:05 GMT</pubDate>
            <atom:updated>2026-01-07T19:05:05.132Z</atom:updated>
            <content:encoded><![CDATA[<p>I believe animation is my favorite part of the game development process. It’s so satisfying after you have done the code to make sure things are functional and now you get to add the extra details that really bring the game to life! To top it off, Unity’s animation features are easy to comprehend and allow the developer to see exactly how the animation is being used. So, my 2D shooter game is nearly complete but I want to add something to the powerups to make them nice to look at and intrigue the player more. As a result, I added an animation to the powerup sprite, so it catches the players attention and makes the game livelier!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*wzy6tDOIyEC_iFAMxcdhrA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2713b7962383" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating & Determining How Long Powerup Effects Should Last]]></title>
            <link>https://medium.com/@jhaylatjackson158/creating-determining-how-long-powerup-effects-should-last-f7abf2e20946?source=rss-d7e873294fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7abf2e20946</guid>
            <category><![CDATA[measurement]]></category>
            <category><![CDATA[feature-testing]]></category>
            <category><![CDATA[features]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <dc:creator><![CDATA[Jhaylatjackson]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 23:06:04 GMT</pubDate>
            <atom:updated>2025-12-30T23:06:04.384Z</atom:updated>
            <content:encoded><![CDATA[<p>Now that basic controls and enemy spawn points are in place, my game is ready for more fun features to enhance the gameplay, like powerups! The first powerup I created is the triple shot, so the player goes from shooting one laser to three. Creating this powerup wasn’t difficult but I ran into a common issue where a prefab is created in the world measurements instead of locally, so when I tried to run the game, the lasers wouldn’t align with the ship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*ynNoWictib0fIt8DjxtgGQ.gif" /><figcaption>Shows triple shot powerup off-center from the ship</figcaption></figure><p>However, after fixing this bug the next thing is figuring out how long the powerup should be in effect. I tested values that are multiple of 5 up to 20 seconds. I believe10 seconds is the best time frame since the other values are too short or a bit too long. Now the powerup is ready to be used by the player!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7abf2e20946" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>