Ian PlumptonUnity: Implementing ‘seeking’ projectilesOur basic laser projectile is the default for our game but let’s add an occasional, over-powered projectile that ‘seeks’ an enemy when…Oct 19, 2021Oct 19, 2021
Ian PlumptonUnity: Restoring healthWe’ve implemented damage already for our player and given them 3 lives. Let’s add a health pick-up that can repair their ship.Oct 17, 2021Oct 17, 2021
Ian PlumptonUnity: Implementing Player Ammo, Part 2In the first part of this article we implemented limited ammo for the player, but this left them with nothing to fire before long. Let’s…Oct 16, 2021Oct 16, 2021
Ian PlumptonUnity: Implementing Player Ammo, Part 1One way to add extra tension to our game is to limit the amount of ammunition the player has. Here’s one way to implement the feature:Oct 15, 2021Oct 15, 2021
Ian PlumptonUnity: Implementing degrading shieldsTo make our shield power-up a more interesting boost, we can make it a multi-level protection for the player. Here’s how we implement it.Oct 14, 2021Oct 14, 2021
Ian PlumptonUnity: Adding a player-controlled speed boostOur game currently has a speed boost powerup that is collectable, but it would be good to add a speed boost that is directly controlled by…Oct 12, 2021Oct 12, 2021
Ian PlumptonUnity: Using the Escape key to escapeYour game is a modern marvel, and it’s hard to imagine why anyone would want to leave, but just in case, here’s how to allow the player to…Oct 8, 2021Oct 8, 2021
Ian PlumptonUnity: Building your game for the webYou’ve built and tested your game but now you want to share it with the world. One way to do this is to build it for WebGL and share it on…Jul 5, 2021Jul 5, 2021
Ian PlumptonUnity: Build and test your gameYou’ve been creating your masterpiece in Unity and testing it as you go, but now it’s time to do a full build and test it as a standalone…Jul 4, 2021Jul 4, 2021
Ian PlumptonUnity: Scripting sound effectsWe know how to play a looped background music, but what about sounds that play when an action occurs? Let’s take a look at setting up the…Jul 3, 2021Jul 3, 2021