Simple Way To Kill Or Destroy An Enemy With A Bullet In 2D Top Down Shooter Game Clone Like Among Us @AlexanderZotov
Simple Way To Kill Or Destroy An Enemy With A Bullet In 2D Top Down Shooter Game Clone Like Among Us  @AlexanderZotov
Uploaded October 2020 | Updated September 2026, 3 weeks ago
#AmongUs #UnityDestroyGameobject #UnityBullet #UnityKillEnemy #UnityEnemy
Kill Or Destroy An Enemy With A Bullet. Creating A 2D Top Down Among Us Shooter Made With Unity. Episode 7.

I play games here - twitch.tv/zzotoff
You are very welcome :-)

Previous Videos

Episode 1. Among Us Idle And Run Animation Unity Software Tutorial | Top Down Movement In 2D Unity Game youtu.be/W3-EncfpBZM

Episode 2. Give Among Us A Weapon Pistol & Shotgun | Game Clone Made In Unity Software | Weapon Switch Feature youtu.be/nDAZIKNx0wg

Episode 3. Fire Pistol And Shotgun Switching Them Back And Forth | Unity Fire And Switch Weapon Tutorial youtu.be/vmbZsbdqza0

Episode 4. Create Enemy Run Animation For Among Us 2D Shooter Game Clone Made With Unity Software youtu.be/9OV_M5PpjPY

Episode 5. Make Enemy Follow The Player In 2D Top Down Game Like Among Us Shooter Clone Made With Unity youtu.be/jdAoLlCn2e8

Episode 6. Spawn Enemies At Random Position With Random Color In Among Us 2D Shooter Clone Made With Unity youtu.be/C3VExnf4kmY

You can get project files here drive.google.com/file/d/1RtMHjj9a2heKbJbbisjpsn9JaYhaL7IS/view?usp=sharing

In this video I show you a very simple way to kill an enemy with a bullet. Bullet hits an enemy and both of them are destroyed. So here is my project which is being developed for several videos by this one. Links to those videos are in the description. So in one of those videos my character got an ability to fire bullets. I created my bullet prefab back then. Here it is. This bullet prefab has a script attached. It was a pretty simple one that just destroyed my bullet in 3 seconds. This time I added some extra code into it. It is ontrigger enter 2d method which is invoked when a bullet meets some collider. When it happens I check if that gameobject has Enemy script attached. If it has then I destroy that gameobject. A bullet is destroyed as well. That’s the script. To make this work I have to add a collider to my enemy prefab. I select the enemy prefab and add a capsule collider to it. I set it as a trigger. So now my enemy has got a collider and he is ready to be killed by a bullet. Let’s check it out. I can kill enemies with my handgun now. Also I can kill a couple of enemies with my shotgun at one shot. Great! Hope you like this tutorial. Thank you for watching and see you next time.
Simple Way To Kill Or Destroy An Enemy With A Bullet In 2D Top Down Shooter Game Clone Like Among UsMake a simple puzzle game about door, ball and maze with Unity Software At Live StreamUnity Tutorial How To Change Gameobjects Sprite In Sprite Renderer Component. Simple C# Script.How To Make Simple Educational Puzzle Game For Kids For Android Mobile Platform With Unity SoftwareHow To Open And Close 3D Door And 3D Drawer With Mouse Click In Unity Game | Simple TutorialHow To Rotate Turret Or Barrel By Swipe And Fire Bullet By Tap In Mobile Unity Game | Touch ControlsMake Game Object Visible And Invisible With Finger Touch Or Mouse Click In Unity Software GameHow To Fire Bullet Or Projectile With Tap And Rotate Game Object With Swipe | 3D Android Mobile GameMove Game Object With WASD Or Arrow Buttons, Aim & Fire With Mouse In 2D Unity Software GameChange sprite from small to big and vice versa with mouse click in Unity software 2D gameMove 2D Game Object With Finger Swipe In Mobile Game Made With Unity Software | Android Or iOSUnity Tutorial How To Move Object Or Player With UI Buttons Left And Right In Android Game
Alexander Zotov |

Simple Way To Kill Or Destroy An Enemy With A Bullet In 2D Top Down Shooter Game Clone Like Among Us

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER