FJ Hagen·Jun 2, 2023Slot Machine Game Part 4: Dynamically Sized Slot Machine and ExtrasIn this final section, I’ll be adding two small things and one large thing. We’ll implement the small things first, starting with a sound…
FJ Hagen·Jun 1, 2023Slot Machine Game Part 3: Detecting MatchesNow that we can generate different sets of icons, we can start working on detecting matches. Go to your variable list in your code and add…
FJ Hagen·May 31, 2023Slot Machine Game Part 2: Generating Slot IconsNow, it’s time to start creating the meat of the project: code. We’ll be creating our game with one C# script called GameManager. To create…A response icon2A response icon2
FJ Hagen·May 30, 2023Slot Machine Game Part 1: Creating the Slot Machine and IconsWith so much of the casino industry switching to Unity, I thought I would try creating a slot machine myself. Here’s the finished product:
FJ Hagen·Sep 13, 2022Galaxy Shooter: New Enemy MovementRight now, my enemies just go straight down on the screen. To spruce this up, I should have them move diagonally. Here’s some code for…
FJ Hagen·Sep 9, 2022Galaxy Shooter: Camera ShakeIt would be cool to have the camera shake when the player takes damage. Thankfully, Unity provides a way to do that via code. Here’s a…
FJ Hagen·Sep 8, 2022Galaxy Shooter: Thruster BarIt’s great that I added the thrust feature to my Galaxy Shooter game, but I don’t want the player to thrust indefinitely. I’m going to…
FJ Hagen·Sep 6, 2022Galaxy Shooter: More PowerupsI’m going to add two more power-ups to my Galaxy Shooter game. First off, I’m going to add two items to my PowerupType enum and edit the…
FJ Hagen·Aug 31, 2022Galaxy Shooter: Limited AmmoIn this article, I’ll show you how to implement limited ammo in your space shooter game and create a power-up to restore your ammo. First…
FJ Hagen·Aug 29, 2022Galaxy Shooter: Revising Shield StrengthRight now, the shield powerup can only take one hit. What if we wanted it to take multiple? This tutorial will show you how. For…