I added Bar Fights to my Indie Game! | Devlog
https://www.youtube.com/watc...I'm making an indie game where you run a medieval tavern and everyone wants me to add bar fights. In this video we are going to do just that! First we add fighting mechanics to the player. I set up some new blend trees that will allow our animations to flow together when you move around. Im going to set up a new set of input actions for the player, and switchback and forth at the press the hotkey.
I then set up two quick punching animations, a jab with the left hand, and a cross with the right. I also added a blocking animation, which we’ll add code for later. Now we need some way to know when we hit an object, so I added sphere colliders to the players hands. I then rigged up an animation event on the punch animations that fires at the start of the punch to open the collider, and another at the end to close it. It was difficult to see this as its just a function firing, so I temporarily added these red balls as I love big balls, they're just a visual way to debug the amount of time that they are open, Ill turn them off later.
Come hang out on Discord: https://discord.gg/cSnj42XCy5
Check out the Synty store by using my affiliate link to support the channel! https://syntystore.com?ref:TJ
Twitter: https://twitter.com/TJGameDev
Music in order of play -
Aests - The Classics [Full Album] : https://youtu.be/ICHe3zzr-RA?t=124
jump man 93 - bruh: https://www.youtube.com/watch?v=5mwlU71S7TA
Evan King - Lets Go! https://www.youtube.com/channel/UCT1ZkP03V18LmOj8zbyP-Dw?
https://contextsensitive.bandcamp.com/
edamame - bbno$ & Rich Brian: https://www.youtube.com/watch?v=K6BRna4_bmg
No Matter - Family Barbeque: https://soundcloud.com/familyz/no-matter
Yung Bae - You’ve Got Me: https://soundcloud.com/yungestbae/youve-got-me
HOME - Head First: https://youtu.be/sh0XvRSppeQ
About me -
Hi I'm TJ, a developer who is passionate about learning gamedev. I primarily develop games on the unity platform using C# but any code is fair game. I’m still learning a lot but hope you’ll enjoy my
Software Used -
Unity Version: 2021.1.22f1
Visual Studio Code: https://code.visualstudio.com/
Adobe Premiere Pro: https://www.adobe.com/products/premier
Adobe Photoshop: https://www.adobe.com/products/photoshop
PC Specs -
NVIDIA GeForce RTX 3080
AMD Ryzen 7 2700x
32GB RAM
Way too much caffeine
#unity3d #indiedev #gamedev #indiegame #gamedevelopment #devlog #madewithunity
#indiedev