3D Platformer in Unity – Enemy Shooting Tutorial




In this video, you will learn how to make an enemy object that will shoot bullets at your player. The first thing you need to do is to make a sphere that will be resized to be smaller than the enemy cube. Next, you have to add a script that will instantiate the bullet from a spawn point, which is an empty game object, consisting of only one element – Transform.

The script used in this video describes what exactly is required for an instance of an element to be magically generated. It’s a very simple Unity tutorial that can be useful for beginners.

I can help you make an enemy shooting script in Unity, that will follow your player by using a component called AI. The predefined enemy can travel inside the Nav mesh, shooting bullets at a fixed time, causing your player to collect damage and if it collects a lot of damage, the game ends.

If you find this video helpful, consider subscribing. I will make videos every week. This is the sixth video in the 3D platformer tutorial series. Lastly, I will make more game development tutorials and other content related to game industry. These videos will help beginner game developers become better and make amazing games.

Disclaimer: the point of enemy shooting is in entertainment, not in causing physical damage to the player.

Support the Creator of Kozmobot on the social networks!

CHECK OUT MY WEBSITE: http://kozmobot.com

INSTAGRAM: https://www.instagram.com/kozmobot.channel

TIKTOK: https://www.tiktok.com/@kozmobot.channel

Music used in the video:
I created my own music. The official channel for music production is called Kozmobot Music.

Voir sur youtube

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0