I added Bar Fights to my Indie Game! | Devlog

Sdílet
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

Komentáře • 130

  • @benjattkk
    @benjattkk Před rokem +38

    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!

    • @TJGameDev
      @TJGameDev  Před rokem +9

      Dope idea, thanks

    • @oystermcnutty5081
      @oystermcnutty5081 Před rokem +2

      ​@@TJGameDev hey, maybe you could add another ai job like a guard, or something to help keep order in tavern fights.

  • @Mayday-cr7pr
    @Mayday-cr7pr Před rokem +2

    That defeated "I dont know why" resonated with every fucking man, woman, and child who has ever coded a single line.

  • @wcrb15
    @wcrb15 Před rokem +35

    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!

    • @TJGameDev
      @TJGameDev  Před rokem +7

      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

    • @wcrb15
      @wcrb15 Před rokem +2

      @@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.

    • @wcrb15
      @wcrb15 Před rokem +1

      Also having everything play from a single audio source would make doing this unpractical 😂

  • @Ironroc
    @Ironroc Před rokem +14

    Enjoyed the hell out of this dev log series. This is pretty close to one of my dream games. Keep it up!

    • @TJGameDev
      @TJGameDev  Před rokem +2

      Thanks man, I really appreciate it

  • @williampain7926
    @williampain7926 Před rokem +2

    Thanks for doing my suggestion 🎉

  • @G7ue
    @G7ue Před rokem +1

    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.

    • @TJGameDev
      @TJGameDev  Před rokem

      Yeah yeah I like this. Like a temp rag doll to slip then they get back up

  • @DarkEffectsStudios
    @DarkEffectsStudios Před rokem +1

    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.

    • @TJGameDev
      @TJGameDev  Před rokem

      Great ideas man, thanks for the help!

    • @DarkEffectsStudios
      @DarkEffectsStudios Před rokem

      @@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.

  • @depressyimpressyrepressy

    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.

    • @TJGameDev
      @TJGameDev  Před rokem +2

      Thanks man, that’s incredibly kind!

  • @SilverDSlite
    @SilverDSlite Před rokem +6

    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.

    • @TJGameDev
      @TJGameDev  Před rokem

      That’s a good thought. definitely worth trying to implement

    • @benjattkk
      @benjattkk Před rokem

      Definitely agree

    • @benjattkk
      @benjattkk Před rokem

      There could also be teams. Like, if a group goes together to the bar they fight together

    • @SilverDSlite
      @SilverDSlite Před rokem

      @@TJGameDev There are a lot of things that could be done with this bar brawl mechanic, but just be careful not to overscope

  • @xkittencatx
    @xkittencatx Před rokem +1

    I am so happy to see another upload from you TJ!

  • @durrium
    @durrium Před rokem +2

    Love the progress! You are showing how you are doing things in a nice and interesting way :) Keep it up!

  • @drsev61
    @drsev61 Před rokem +2

    Love being on this journey with you, dude. Great work!

  • @FuckStick
    @FuckStick Před rokem +3

    Love your series man, fun to watch and motivating 🙏

  • @erictripps125
    @erictripps125 Před rokem +1

    Okay so hear me put. Drunk NPC's will also pick fights with chairs.

    • @TJGameDev
      @TJGameDev  Před rokem

      Oh god, that’ll be anarchy haha

  • @kentabenno
    @kentabenno Před rokem +1

    Nice! Give them punches more heft by exaggerating the reaction anmation. And add some nosebleed! Haha

  • @liampeterson5976
    @liampeterson5976 Před rokem

    I can't wait to see more dev logs

  • @user-ly7kg8ic9w
    @user-ly7kg8ic9w Před rokem

    Game looks AWESOME😍 waitng for it

  • @Gandalf_Le_Dev
    @Gandalf_Le_Dev Před rokem +1

    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

    • @TJGameDev
      @TJGameDev  Před rokem

      Haha nice. I love wallpaper engine

  • @FanaticChain
    @FanaticChain Před rokem +2

    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!

    • @TJGameDev
      @TJGameDev  Před rokem

      Hey thanks man! I really appreciate it

  • @lop1506
    @lop1506 Před rokem +1

    cant wait for the release

  • @shaigordon2237
    @shaigordon2237 Před 7 měsíci +1

    Funny and interesting, Kudos!

  • @pocketbattlesar
    @pocketbattlesar Před rokem +1

    nice work on the game and great video!

  • @tristanreejakobsen6157
    @tristanreejakobsen6157 Před rokem +2

    wuu another video

  • @llstudio7374
    @llstudio7374 Před rokem +5

    Love this Game

  • @frederickfreund1957
    @frederickfreund1957 Před rokem +1

    Love the cow XD

  • @owenhey3187
    @owenhey3187 Před rokem +1

    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!

  • @fourplenty
    @fourplenty Před rokem +1

    Hell Yeah!

  • @TheOffGridFamily
    @TheOffGridFamily Před rokem

    @TJ you have to be careful throwing around the name caillou as I've been singing the theme tune all damn day lol

  • @pixeldust8362
    @pixeldust8362 Před rokem +1

    This is awesome

  • @ImRafaelPL
    @ImRafaelPL Před rokem +1

    Keep up the good work!

  • @limmmi
    @limmmi Před rokem +2

    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?

  • @Marandal
    @Marandal Před rokem +1

    Guys in bar get pounded, gone wrong

  • @castlecodersltd
    @castlecodersltd Před rokem +1

    Great video, thanks ☺

  • @francescobassetto7768
    @francescobassetto7768 Před rokem +1

    you could add some kind of "kick" or "push" in order to push npcs away from you when they're too close

  • @noskinnr39
    @noskinnr39 Před rokem

    I'm learning developing games videos like this always help me stay motivatatet

  • @nahtan5855
    @nahtan5855 Před rokem +1

    Very cool!

  • @PoisonDash
    @PoisonDash Před rokem +1

    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

    • @TJGameDev
      @TJGameDev  Před rokem

      That’s a really good point. I already have soldiers so it would be super easy to add. Thanks so much!

  • @babbage___
    @babbage___ Před rokem +1

    My man never disappoints, very good video EZ Clap
    Also your father sounds like an interesting man, he seems to have lots of knowledge..

    • @TJGameDev
      @TJGameDev  Před rokem +1

      Thanks for the help with this one!

  • @3bomb
    @3bomb Před rokem +1

    A fitting addition to the game! Btw, you make a brief appearance towards the end of my latest video. ;)

  • @nextlevelmc3437
    @nextlevelmc3437 Před rokem +1

    amazing

  • @davidmikan7925
    @davidmikan7925 Před rokem

    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 ;)

  • @Freidora5
    @Freidora5 Před 9 měsíci +2

    When new DevBlog

    • @TJGameDev
      @TJGameDev  Před 9 měsíci

      Idk I’ve been really busy, hopefully soon

  • @widearchshark3981
    @widearchshark3981 Před rokem +3

    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 !?

    • @TJGameDev
      @TJGameDev  Před rokem +1

      Eventually, still a lot to get done before it gets done on steam

  • @M0ffMaid
    @M0ffMaid Před 9 měsíci

    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

  • @typicaltoronto
    @typicaltoronto Před rokem +1

    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.

    • @TJGameDev
      @TJGameDev  Před rokem

      All bought from synty studios, there should be a link in the description

    • @typicaltoronto
      @typicaltoronto Před rokem

      @@TJGameDev Thank you for getting back to me, keep up the great work.

  • @danielkotsotys5123
    @danielkotsotys5123 Před rokem +1

    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 ;)

  • @razzorlink5955
    @razzorlink5955 Před rokem +1

    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

  • @TieMonkeyMC
    @TieMonkeyMC Před rokem

    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.

    • @TJGameDev
      @TJGameDev  Před rokem +1

      Breathing would be great, good point

  • @chrisskyr623
    @chrisskyr623 Před rokem +1

    Did you say something about Greece ?

  • @zeily8035
    @zeily8035 Před rokem +2

    hi, didn't even had time to watch video yet

  • @mpheinze
    @mpheinze Před rokem +1

    Looks amazing! Can I wishlist the game on Steam already?

  • @CodyIsDumb
    @CodyIsDumb Před rokem +1

    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

    • @TJGameDev
      @TJGameDev  Před rokem

      Maybe, vr requires really optimized graphics

    • @CodyIsDumb
      @CodyIsDumb Před rokem

      @@TJGameDev yeah well idk how you'd do that

  • @playfuljoker8039
    @playfuljoker8039 Před rokem

    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

  • @UsmanDev
    @UsmanDev Před rokem +1

    ready to be the next jake paul in ur game

  • @sechmascm
    @sechmascm Před rokem +3

    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

    • @TJGameDev
      @TJGameDev  Před rokem

      Begone! I like the idea and now I want to add it 😭

    • @sechmascm
      @sechmascm Před rokem

      @@TJGameDev lol, and don't forget bargains, traps and powerups

  • @matt_z_07
    @matt_z_07 Před rokem +1

    New vid!

  • @clocket_iscool
    @clocket_iscool Před rokem

    Will there be a update that makes controllers compatible will it ever get vr and will it be free?

    • @TJGameDev
      @TJGameDev  Před rokem

      Idk, vr need very optimized graphics

  • @hieuchung6443
    @hieuchung6443 Před rokem

    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..

  • @puffer2939
    @puffer2939 Před rokem

    I’d love to see a dish you could cook that would up your stamina for a bit

  • @Dubcore2011
    @Dubcore2011 Před rokem

    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?

  • @therussiantonk3170
    @therussiantonk3170 Před rokem +1

    When will it come out

  • @chrisvdmeer
    @chrisvdmeer Před rokem +1

    Ever played taverns of tiefental boardgame?

    • @TJGameDev
      @TJGameDev  Před rokem

      Nah, should I check it out?

    • @chrisvdmeer
      @chrisvdmeer Před rokem

      @TJGameDev might have some Inspirations with tavern upgrading mechanics.

  • @ohmyme13
    @ohmyme13 Před rokem

    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.

  • @rawallon
    @rawallon Před rokem

    Make so they can stumble (ragdoll) if anyone mashes attack bttn when drunk

  • @kaulotubbies
    @kaulotubbies Před rokem +1

    What happend to the cooking

    • @TJGameDev
      @TJGameDev  Před rokem

      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

  • @dogekingchris2190
    @dogekingchris2190 Před rokem

    Hey man, vignette is pretty much just pronounced "vin-yay"

  • @TheBendixSA
    @TheBendixSA Před 4 měsíci

    Yo is the tavern game cancelled?

  • @IsaacCode95
    @IsaacCode95 Před rokem

    8:48 pronounced as vinyet

    • @TJGameDev
      @TJGameDev  Před rokem

      Thanks, any idea what it originates from?

    • @IsaacCode95
      @IsaacCode95 Před rokem

      @@TJGameDev they took it from the french i think

  • @spencerdunn2313
    @spencerdunn2313 Před rokem

    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