2D Shooting | Unity Tutorial (Two Types of Projectiles!)

Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) -   / sasquatchbgames   Join our Discord Community! -   / discord   By the end of this 2D Unity tutorial we'll have our little character shooting and damaging enemies with our ranged combat system. I'll show you how to aim your gun towards the mouse cursor (using the new Input System,) how to rotate the gun after a certain degrees threshold, and how to rotate your bullets when they are spawned in (as well as how to rotate them towards your velocity direction!) To make this more fun, I'll show you an easy way to setup TWO kinds of projectiles that you can shoot. I cover a lot here, so we're going to go through this 2D shooting tutorial fast! Link to Download the FREE 2D Asset Pack seen in this tutorial: https://assetpack.sasquatchbstudios.com/ --- In need of some Unity Assets? Using our affiliate link is a great way to support us. It's free, and we get a small cut that helps keep us up and running: https://assetstore.unity.com?aid=1100... --- Credits----------------------------------------------------- Unity Vector2.normalized Documentation Pic: https://docs.unity3d.com/ScriptRefere... Contents of This Video: ------------------------------------------ 00:00 - Intro + Scene Explanation 00:42 - Rotating Gun Towards Mouse 03:58 - Flipping the Gun When You Aim Backwards 06:53 - Instantiating Bullets that Face the Shot Direction 10:27 - Get Bullets to Move in Shot Direction 12:21 - Handling Bullet Destruction 14:53 - Adding a Second Bullet Type to BulletBehavior 19:15 - Rotate Bullets' Facing Direction Based on Velocity 19:51 - Applying Damage to ANY Damageable Object Who We Are------------------------------------- If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia. Wishlist our Games: Wishlist Samurado on Steam! - https://store.steampowered.com/app/23... Wishlist Veil of Maia! - https://store.steampowered.com/app/19... Don't forget to Subscribe for NEW game dev videos every Monday & Thursday! Follow us on Twitter for regular updates!   / sasquatchbgames   #unitytutorial #unity2d #unity3d