Enemy Health and Explosions

blog post header image

Video tutorial about managing enemy health in a rail shooter built with Unity3d. We'll also discuss killing enemies in fiery explosions.

This is a continuation of Final Parsec's tutorial series on building a space-themed rail shooter with Unity3d. In previous tutorials, we've discussed enemies detecting and firing at the player. Now we have come to the point where the player needs to be able to fight back.

In this video tutorial, I'll discuss managing the health of enemies when they get shot by the player. Then we'll discuss how to make the enemies blow up and be removed from the game when they are dead.

You can follow along with the development of the project and find the source code from the tutorial on GitHub.

Recommended posts

We have similar articles. Keep reading!

blog post preview image
sprites

How to Turn AI-Generated Art into a Pixel-Perfect Game Sprite

Creating game sprites used to take hours of painstaking work, drawing frame by frame, tweaking pixels, and hoping the animation felt right. AI-generated art enables you to create a whole sprite sheet in seconds, but it still takes some effort to get it pixel-perfect and ready to use in a game. In this post, we’ll show you how to take AI art and transform it into a polished asset that moves fluidly, letting you focus on building your game instead of wrestling with every frame.

blog post preview image
tutorial

Running a Sandbox Game with Zero Prep

Learn how to run a sandbox TTRPG campaign with zero prep using random tables. This guide shows how to quickly build towns, NPCs, and story hooks on the fly, freeing you to react and improvise with confidence. Includes tips, examples, and a printable Town Starter Kit to get started fast.