I added Bar Fights to my Indie Game! | Devlog
Vložit
- čas přidán 6. 12. 2022
- 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: / discord
Check out the Synty store by using my affiliate link to support the channel! syntystore.com?ref:TJ
Twitter: / tjgamedev
Music in order of play -
Aests - The Classics [Full Album] : • Aests - The Classics [...
jump man 93 - bruh: • jump man 93 - bruh
Evan King - Lets Go! / @contextsensitive
contextsensitive.bandcamp.com/
edamame - bbno$ & Rich Brian: • bbno$ & Rich Brian - e...
No Matter - Family Barbeque: / no-matter
Yung Bae - You’ve Got Me: / youve-got-me
HOME - Head First: • HOME - Head First [Syn...
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: code.visualstudio.com/
Adobe Premiere Pro: www.adobe.com/products/premier
Adobe Photoshop: 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 - Věda a technologie
There could be different drunk personalities. For example, some when getting drunk get sad, others aggresive, maybe too touchy or stuff like that. Looking great!
Dope idea, thanks
@@TJGameDev hey, maybe you could add another ai job like a guard, or something to help keep order in tavern fights.
That defeated "I dont know why" resonated with every fucking man, woman, and child who has ever coded a single line.
I think there is a way to use code to modulate the pitch of a sound clip. You can use that to create slight variations on your sounds instead of having to create hundreds of pitch variations. Looks like it's all slowly coming along nicely though!
You are correct. Unfortunately it was faster to make a few versions as all my sfx play off one audio source, and I didn’t want to mess up the pitch for that. It would have been smarter to do it your way though
@@TJGameDev there is nothing wrong with doing it the quick way! There is something smart about making it work to test before you implement it the "correct" way.
Also having everything play from a single audio source would make doing this unpractical 😂
Enjoyed the hell out of this dev log series. This is pretty close to one of my dream games. Keep it up!
Thanks man, I really appreciate it
Thanks for doing my suggestion 🎉
Well now that you got ragdolls. You gotta add getting so drunk they pass out and just flop over.
Also, assuming you will have some sort of cleanliness upkeep with your tavern. Drunks vomiting, or spilling beer to clean up would be neat. Bonus points if there is a small chance for people to slip on the the mess. Another use for the ragdoll system, and possible reason to start a fight. Which in turn makes it even more necessary to clean up.
Yeah yeah I like this. Like a temp rag doll to slip then they get back up
These are just a few suggestions to make the game feel more natural.
#1: I would add the health bar to the top left above the (Opening)
This will allow the player to see it better instead of just having the fade in and fade out of health.
#2: (Sobor vs. Drunk)
#2a: If the patron is drunk, they deplete their health more rapidly; the more they drink, the more tired and weaker they get.
#2b: If the patron is sober, they have more stamina and can then kick butt longer compared to the drunk ones.
Continue the content; I love watching it.
Gets me in the mood to work on other projects as well.
Great ideas man, thanks for the help!
@@TJGameDev Thanks, I get ideas a lot watching other people work on their projects. In most cases, I cannot reach out to them, but in this case, I noticed that you care about what your community thinks and consider what they say and suggest.
My father used to ask me what I thought about something AFTER he had done it. I would come up with suggestions to improve it, and he would shake his head and walk away with his arms in the air, saying. Why didn't I ask you before I had the damn thing built?
RIP Dad.
Cannot wait to see more of your progress.
Yo, I gotta say, man. i stumbled upon your channel like a week ago and listened to your testimonial. And lemme just say after watching a lot of your vids. You're a prime content creator. You're funny, witty, and an inspiring coder. I also appreciate that you share your coding concepts with us. It really helps me look at future or current projects in an interesting way.
Thanks man, that’s incredibly kind!
I could see drunkeness affect brawling skills somewhat. Like, being drunk reduces reaction time, reducing their chance of blocking or dodging in time, but makes them more likely to use implements like mugs and chairs. I could see a situation where some drunk guy hits someone that's not drunk, prompting them to fight back. Maybe non-drunks wouldn't go for the closest target, but rather the one who hit them last.
That’s a good thought. definitely worth trying to implement
Definitely agree
There could also be teams. Like, if a group goes together to the bar they fight together
@@TJGameDev There are a lot of things that could be done with this bar brawl mechanic, but just be careful not to overscope
I am so happy to see another upload from you TJ!
Thanks!
Love the progress! You are showing how you are doing things in a nice and interesting way :) Keep it up!
Thanks man!
Love being on this journey with you, dude. Great work!
I appreciate it!
Love your series man, fun to watch and motivating 🙏
Thanks man!
Okay so hear me put. Drunk NPC's will also pick fights with chairs.
Oh god, that’ll be anarchy haha
Nice! Give them punches more heft by exaggerating the reaction anmation. And add some nosebleed! Haha
I can't wait to see more dev logs
Game looks AWESOME😍 waitng for it
I have the same wallpaper, a very good choice 👌🏼
The game looks really fun and your devlog are always fun to watch, I am excited to see the next one
Haha nice. I love wallpaper engine
Let’s goooo! I always stop what I am doing to watch these! It’s good to see babitch too, the more babitch the better!
Hey thanks man! I really appreciate it
cant wait for the release
Funny and interesting, Kudos!
Glad you enjoyed it!
nice work on the game and great video!
Thanks man!
wuu another video
Love this Game
Thanks man
Love the cow XD
It’s pretty rare to have good jokes in a video like this, but you really made me laugh (vinaigrette lol). Keep up the good work!
Glad you enjoyed!
Hell Yeah!
@TJ you have to be careful throwing around the name caillou as I've been singing the theme tune all damn day lol
This is awesome
Thanks man
Keep up the good work!
Thanks man
This is such a good Devlog! Plus the game sounds like its going to be great. I did not know Unity supports vinaigrette now...is it baked vinaigrette?
Guys in bar get pounded, gone wrong
Great video, thanks ☺
No, thank you!
you could add some kind of "kick" or "push" in order to push npcs away from you when they're too close
Great idea
I'm learning developing games videos like this always help me stay motivatatet
Glad to hear it!
Very cool!
Thanks man
Would love to see customer occupations that affect their combat chances, for example if a baker gets aggressive their combat ability would be lower than say a soldier who comes in and drinks too much. Increasing block & dodge chance as well as a damage buff to tougher occupations would keep it interesting. Maybe even theres a rare chance for a "Hero" to come into the tavern who has jacked combat stats and if they get roudy it could act almost like a boss fight
That’s a really good point. I already have soldiers so it would be super easy to add. Thanks so much!
My man never disappoints, very good video EZ Clap
Also your father sounds like an interesting man, he seems to have lots of knowledge..
Thanks for the help with this one!
A fitting addition to the game! Btw, you make a brief appearance towards the end of my latest video. ;)
Oh dope!
amazing
Thank you!
I think the idea of bar fights is cool, but can't help but feel like there's a lot of unused potential here with making it messy, chaotic and maybe include ragdoll physics! Drunks fighting (especially randos in the bar) won't be able to square up and fight so cleanly, they would sling their arms around, stumble and throw bottles ;)
When new DevBlog
Idk I’ve been really busy, hopefully soon
This game is looking very clean now. And this video is great. So nice to hear a humble devlog rather than some dude telling us how amazing they are (senpai gaming)
You planning on releasing this on Steam or something? If so, where's that wishlist !?
Eventually, still a lot to get done before it gets done on steam
Make a way to get customers sober, it'd be cool if bar fights decreased something to do with your bar like rating or reputation
Hello, found your channel so far love what you have accomplished. Wanted to find out do you model your game assets or just get asset packs? I’m working on a game myself. But I’m modeling all game assets myself.
All bought from synty studios, there should be a link in the description
@@TJGameDev Thank you for getting back to me, keep up the great work.
You can also randomize pitch of the sound directly in unity. You can do it easily from the code, even with one sound fille it can make wonders ;)
Yup, you are correct, thanks!
Ah, yes. vinaigrette. my favorite post-processing effect lol
The game is looking awesome btw. It'll be a blast to play it with some friends, if I had any.
Anyway, amazing work, dude. Keep it up
Lmao same dude
I think if you're going for immersion, with the stamina system maybe you could add a "loss of breath" that gets quicker or louder the closer you are still your out of stamina. For the visuals you could make some kind of zoom in and out while getting blurry to simulate the breathing and eyes fogging.
Breathing would be great, good point
Did you say something about Greece ?
hi, didn't even had time to watch video yet
Looks amazing! Can I wishlist the game on Steam already?
Not yet!
Can you add vr support like for steam, and Oculus quest store I'll try and get it when I can. Also it would be cool if certain people hit faster like they were a professional fighter back in their days or different fighting stats for different races
Maybe, vr requires really optimized graphics
@@TJGameDev yeah well idk how you'd do that
Hello.
Anyone have a simple sitting on chair tutorial in unity?Like there will be an arrow on top of the chair and when you click or trigger it you will sit on chair or something similar.My problem is I don't sit on chair I sit in front of it while facing it.Anyone know how I can rotate my character before I sit?
Thank you
ready to be the next jake paul in ur game
Haha thanks man
But what if you add a procedural generated dungeon crawler game on top of the tavern management set in an outdoor market place. Each corridor would be populated with vendors, and you'd use your newly added pistol to kill them and rob them of their inventory so that you can fill your own.
Better hope you learn that game dev management skill soon because I want this feature ready for christmas. /s
Begone! I like the idea and now I want to add it 😭
@@TJGameDev lol, and don't forget bargains, traps and powerups
New vid!
Will there be a update that makes controllers compatible will it ever get vr and will it be free?
Idk, vr need very optimized graphics
What if you use objects to fight? I mean using other objects such as beer mugs, wooden plates... not only throw, but also use it to hit, and it also has its own durability. I don't know why, but I feel pretty good about holding an apple and smacking some drunk on the head..
I’d love to see a dish you could cook that would up your stamina for a bit
Good idea!
Would be cool if customers that fight and win level up, the player can see the their stats. Customers that level up become regulars that you can name, maybe even bet on to fin future fights?
I like it
When will it come out
No idea, still a lot to do
Ever played taverns of tiefental boardgame?
Nah, should I check it out?
@TJGameDev might have some Inspirations with tavern upgrading mechanics.
Make them be able to pick up furniture and break it on someone's head. That way you'd have to buy the furniture and collect money from these who broke it.
Make so they can stumble (ragdoll) if anyone mashes attack bttn when drunk
I like it
What happend to the cooking
Need to overhaul it, it’s not good enough right now, once it’s fixed I’ll re add it, or just keep it in the bigger tavern
Hey man, vignette is pretty much just pronounced "vin-yay"
Yo is the tavern game cancelled?
Yeah
8:48 pronounced as vinyet
Thanks, any idea what it originates from?
@@TJGameDev they took it from the french i think
You should ad racism to the game, like a goblin walks in, but then you have to beat them and throw them out, or else the other customers will hate your restaurant and leave