How to make a Singleplayer FPS Game in Unity – Part 3

Опубликовано: 16 Март 2026
на канале: Obsessive Games
1,281
26

Welcome to the third episode of how to create your own First Person Shooter Singleplayer game. In this episode, we will cover how to create a healthbar and a health system for the enemy and be able to damage the enemy targets and destroy them from the scene after a certain amount of time.

💖 Support my videos on Patreon ►   / obsessivegames  
📷 Singleplayer FPS Playlist ► https://bit.ly/3aEPWud

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
📝Get the source code here. 📝

● Gun.cs ► https://pastebin.com/DPCFNc7u
● EnemyHealth.cs ► https://pastebin.com/WDLS1U8d
● GameFunctions.cs ► https://pastebin.com/Dfg8iZnd
● Healthbar.cs ► https://pastebin.com/QX1Tr0Mj
● IDamageable.cs ► https://pastebin.com/z1QsDvYv

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔗All Links. 🔗

📝Assets...
● Healthbar.png sprite ►https://bit.ly/35KpM7t

📝Git Repo...
● https://github.com/ObsessiveGames/Sin...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🙋 LINKS TO CHECK OUT 💗

If you need any assets and would like to see what the Unity asset store has to offer, then head right to the Unity store here ► https://bit.ly/39bxPvy

💗 50% off selected Unity Asset Store special ► https://bit.ly/39hri2t

Learn more with unity premium, go check it out!
📚 Unity Learn Premium ► https://bit.ly/3xBfKkh

If you want to take your game development career to the next level, make sure to look at Unity Pro or Unity Plus:
🔗 Unity Pro ► https://bit.ly/3O06wTP
🔗 Unity Plus ► https://bit.ly/3mHfdad

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✨Connect on more platforms ✨

📷 Instagram ►   / obsessive_g.  .
🐦 Twitter ►   / gamesobsessive  
🥶 Facebook ►   / obses.  .
💬 Discord ►   / discord  
💨 Wishlist Guild Hall Adventures ► https://bit.ly/3kvM7Jn

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Welcome to Obsessive Games and on this channel, I show you how to create games and show you tips and tricks with Unity.
The current indie game in progress is an Action Role-Playing game called Guild Hall Adventures, I will show you what unity game development methods I use to complete games with Unity 3D.

Consider subscribing for game development tutorials and devlog videos with everything GameDev related, create your own indie games with the help I provide.

👍 Like and Subscribe! 💖
♥ Subscribe - https://bit.ly/2WkqqE4

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✨Other Tutorials ✨

📷 How to shoot in an FPS Game ►    • How to shoot in my FPS game with Unity  
📷 How to gather a tree in Unity ►    • How to gather a TREE in Unity 3D  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#unity #gamedevelopment #gamedev
#obsessivegames









How to make a Singleplayer FPS Game in Unity – Part 3
indie games,indie game,unity3d,low poly,game dev,gamedev,computer science,game development,unity game development,unity,tutorial,material,materials,beginner,and,settings,how,to,howto,learn,learning,course,series,tutorials,workflow,game,development,develop,games,programming,coding,basic,basics,C#,FPS,first,person,shooter,first-person shooter,movement,controls,player,character,making,unity tutorial,unity fps,ep 3,episode 3,health,damage,healthbar,ui,IDamageable,actions