Godot 4 Hack and Slash #1 Active Skill

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ค. 2024
  • This is the first part of the Godot 4 Hack and Slash video series. In this video I'm gonna show you how I am making a general skill system that the player actively delivers with 3 phases - windup, delivery, and recovery.
    Support me: / jrouddro
    Third Person Controller Series: • Godot 4 Third Person C...
    Full Playlist (Hack and Slash): • Godot 4 Hack and Slash
    Project Link: johnnyrouddro.itch.io/godot-4...
    Godot Engine: godotengine.org/
    GPUTrail: github.com/celyk/GPUTrail
    Timestamps:
    0:00 Intro
    0:56 Active Skill
    1:21 Animation Tree
    1:51 Attack Buffer
    2:46 Skills Container
    3:11 Windup, Delivery, Recovery
    5:26 Active Skill Controller
    6:23 Update Player Controllers
    7:00 Dash
    9:16 Sword Trail VFX

ความคิดเห็น • 68

  • @3dssolidsnake
    @3dssolidsnake หลายเดือนก่อน +11

    You should add an inventory system and basic pickups to it as well.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +7

      Great idea 👌 Added to my list. It might become its own separate series idk.

    • @majordabalert
      @majordabalert หลายเดือนก่อน +2

      @@JohnnyRouddrosounds awesome

    • @aarav6891
      @aarav6891 8 วันที่ผ่านมา

      @@JohnnyRouddro waiting for it...

  • @billmore6486
    @billmore6486 หลายเดือนก่อน +8

    Your like the only creator doing these types of videos for godot. Third perosn type tutorials are barren for godot. Keep up the great work!

  • @arcadia8431
    @arcadia8431 หลายเดือนก่อน +2

    Thank you for these tutorials. Got back on track with game dev.

  • @Mrtargi
    @Mrtargi หลายเดือนก่อน +1

    Forgot to mention minor issue. If you re in crouch pose or prone pose when you attack you stand inside the wall or dash outside which looks really strange)

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      Thanks for pointing it out. Will fix it in the next video 🙏

  • @Josh-op6dl
    @Josh-op6dl หลายเดือนก่อน +1

    Just when I needed! Thx

  • @arthur.s
    @arthur.s หลายเดือนก่อน

    Incredible work!

  • @aidenmiranda519
    @aidenmiranda519 หลายเดือนก่อน +1

    THANK YOU SO MUCH IVE BEEN NEEDING THIS OMW

  • @coltr1
    @coltr1 หลายเดือนก่อน

    This is great, looking forward to the weapon switching and possibly other abilities.

  • @Protech-ps6cw
    @Protech-ps6cw หลายเดือนก่อน +1

    Thanks men your tutorials are really helpful 😊

  • @mazander_man
    @mazander_man หลายเดือนก่อน +1

    great work johnny!

  • @kruth6663
    @kruth6663 หลายเดือนก่อน +2

    Nice, I've been waiting for this :D

  • @rz_rabbi
    @rz_rabbi หลายเดือนก่อน +1

    Although I'm learning a different game engine for now and focusing only on that one to speed up learning, I still watch all your content just because I enjoy your tutorials more than any show on Netflix. Maybe someday I can finally start learning Godot.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +2

      Thanks Rabbi ♥ That means a lot to me. I hope you become super pro game dev in no time, then one weekend you would just pick up and Godot and learn it 😄

  • @LuizMoratelli
    @LuizMoratelli หลายเดือนก่อน

    Come from reddit! Thanks for sharing :D

  • @majordabalert
    @majordabalert หลายเดือนก่อน

    Dope

  • @franciscolopez-kw2xq
    @franciscolopez-kw2xq หลายเดือนก่อน +1

    Gracias por la explicasion, me a servido mucho

  • @iIAbOoDIi_
    @iIAbOoDIi_ หลายเดือนก่อน +1

    Incredible video man
    I wonder if you can make the next weapon some type of gun

    • @JohnnyRouddro
      @JohnnyRouddro  28 วันที่ผ่านมา +1

      Thanks. The next weapon is melee too, want to keep this series focused on melee combat. I will definitely create shooting mechanics related to this one, but it will be part of another series.

  • @sanyi9667
    @sanyi9667 หลายเดือนก่อน

    never stop making tutorials!

  • @NeonfireStudio
    @NeonfireStudio หลายเดือนก่อน

    Nice combat, it is good for rpg game

  • @OugonGatekeeper
    @OugonGatekeeper 4 วันที่ผ่านมา

    I would be interested in how you would create a camera with target lock-on in godot 4.

  • @ItzVic
    @ItzVic หลายเดือนก่อน

    I really like this series because it works great has clean code and even uses states. I have some questions:
    1) Are you planning on adding the features from the Godot 3 version, like the shooting mechanics?
    2) Can a First Person Perspective be implemented in this same controller without having to change the logic?(Player rotates together with the camera)

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      Thanks! I do have plans for shooting mechanics, but I'll prioritize the features list in 0:18 . In my Godot 3 shooter series, I've created a specific type of shooting mechanics which may or may not work with this project. Nevertheless, I plan to make a completely new shooting mechanics in a modular way where I can modify stuff like targeting systems (like aimed/auto targeting etc), the shooting system itself (like ray bullet/projectile bullet/bow arrow etc).
      Yes first person perspective will be easy to implement with this project. You can start by hiding the mesh and setting the spring length of the springarm node as 0.

    • @ItzVic
      @ItzVic หลายเดือนก่อน

      Thank you for your response. For my project I need a good third person controller even though it's going to be focused on first person. I thought since I'd be doing a multidirectional movement and relative to the camera, I might as well base it on third person movement.
      I tried what you recommended, and it works, however I'm not sure what's the best way to approach this, because I would prefer the camera to match the movement and the body to be visible in first person. Should I set up a different blend tree where all anims look at 1 direction? should i use "look at" for the player rotation? I know this can be complicated, and any information will be appreciated if you know something about it/ know a source I can learn from. Thanks once again

  • @Mrtargi
    @Mrtargi หลายเดือนก่อน

    Amazing tutorial! As usual! How do you think what is best solutions to implement different type of attack to different weapons types? I mean I already have fully working and scalable inventory system (I would be happy to share if you need) but I want different melee attack according to weapon type (blunt, sharp etc) so It should be different combos as well, but I don't want it to be too complex. More like fallout style

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      Every weapon will have its own set of active skills that contain all the data. The next video is about weapon changing which I'll upload pretty soon, I hope you will find what you're looking for there.

    • @Mrtargi
      @Mrtargi หลายเดือนก่อน

      ​@@JohnnyRouddro almost forget, it also would be great to add counter. So after certain amount of time amttamck counter reset amnd we start again with the first attack animation. Now it feels really strange when you continue attack from where you've stopped before

  • @CopyCatBlack
    @CopyCatBlack 8 วันที่ผ่านมา

    Sir can you please make a aimming system where the character do the strafe animation 🙏🙏🙏

  • @gonderage
    @gonderage หลายเดือนก่อน

    youure telling me we couldve just dynamically changed one section of the blend tree insntead of manage a gigantic web of animations?!?!! Bless you!!!!

  • @UnhingedAlt-hb1xe
    @UnhingedAlt-hb1xe หลายเดือนก่อน

    Thank you very much for this, will ranged weapons be considered in the future? Again thanks.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      I have plans for ranged attack, maybe built on top of this system. That definitely will be a series of its own.

  • @crispyghoul
    @crispyghoul หลายเดือนก่อน

    Any plans on updating the third person shooter tutorials for godot 4?

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      I have a plan to include shooting mechanics right in this active skill system. It will be another active skill tied to a weapon, that shoots projectiles and raycast bullets. Combine that with a targeting/aim system you got yourself a shooter mechanics.

  • @Ceisri
    @Ceisri หลายเดือนก่อน

    when i add a transition node in the animation player, it is empty... i don't see how to add states to it, looking at the documentation there's nothing that seems to help.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      If you select the transition node, you can see some options in the inspector where you can add states and modify values.

  • @coltr1
    @coltr1 หลายเดือนก่อน

    Have you considered discussing how this controller and eventually the enemies could be synchronized in multiplayer?

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      I don't have any plans with multiplayer right now. With Godot's latest multiplayer features, it shouldn’t be too complex though. Maybe I'll give it a try in future, but right now I do have a long list of topics to cover.

    • @coltr1
      @coltr1 หลายเดือนก่อน

      @@JohnnyRouddro Sounds good, I’ll likely be trying to implement your tutorials into multiplayer as you go. Looking forward to it!

  • @onokoreal
    @onokoreal หลายเดือนก่อน

    Nice! where are the animations from?

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      Thanks! I made them 😄

    • @onokoreal
      @onokoreal หลายเดือนก่อน +2

      @@JohnnyRouddro Nice work I thought it was from mixamo at first!

  • @abdelrhmanhatem6872
    @abdelrhmanhatem6872 26 วันที่ผ่านมา

    Do i have permission to use your models as placeholders untill i finish mine?
    Iam currently working on a souls like and would love to nail the mechanics before spending ages on animation and modeling, retopology,etc
    if you want credites i can totaly mention you however you want, thanks in advance

    • @JohnnyRouddro
      @JohnnyRouddro  26 วันที่ผ่านมา

      Of course! You can use the model however you want, no credits needed 👌

  • @davitheking024
    @davitheking024 หลายเดือนก่อน

    i really need one like this for unity too, but still nowhere to be found (no i'm not switching)

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน

      You can try and translate this project to Unity. Although in Unity this would be much more complex because Unity's built-in Animation Controller doesn't have the versatility of Godot's AnimationTree.

  • @xdn_t
    @xdn_t หลายเดือนก่อน

    I was literally just playing Spartan Total Warrior just about now and decided to go back and see if Godot can mimic that 🤯
    Why don't you try following Spartan Total Warrior mechanics for your Hack & Slash Series? It's insanely simple, almost the same mechanic as yours now, you could practically remake it in the meanwhile, lol

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน

      Spartan Total Warrior has some sweet mechanics 👌 PS2 really had a golden era. After I'm done with my features list, the project will indeed look like that game haha.

    • @xdn_t
      @xdn_t หลายเดือนก่อน

      @@JohnnyRouddro I wanna remake that game with level editor for huge fantasy monsters battles 😭

  • @sibel9272
    @sibel9272 19 วันที่ผ่านมา

    Couldn't the skills be resources you could attack to a single script instead of nodes?

    • @JohnnyRouddro
      @JohnnyRouddro  18 วันที่ผ่านมา

      It really depends on how you want to organize. In my case I needed a reference to a vfx node in the hierarchy which would not be possible with resources.

  • @nue_hazel
    @nue_hazel หลายเดือนก่อน

    Why the project feel so heavy ?
    The scene seems so simple

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน

      Does it lag or load very slowly on your computer?

    • @nue_hazel
      @nue_hazel หลายเดือนก่อน

      @@JohnnyRouddro it is lag
      Maybe my macbook air m2 not enough to run this project ?
      I just think the environment is quite simple and i should able to run it smoothly.

  • @isserleysdaddy
    @isserleysdaddy หลายเดือนก่อน

    amazing work

  • @its_saval
    @its_saval 20 วันที่ผ่านมา

    I wonder how many of this could be used in 2d

    • @JohnnyRouddro
      @JohnnyRouddro  19 วันที่ผ่านมา

      The state machine architecture can be used in 2D

  • @renderlessgames
    @renderlessgames หลายเดือนก่อน +1

    Very similar to my game, Lethal Planet. Pretty cool of you to make it open source and free

  • @sibel9272
    @sibel9272 หลายเดือนก่อน

    One is issue is that even if when the animation resets after the first attack, pressing attack again will still play the next attack. Also in the future, will you implement things charge attacks and holding inputs? (IE: Hold primary fire for charge attack), or if the player does a brief pause during an attack (like some moves in Devil May Cry) Good video btw.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      That's actually intended for now. After I'm done with the combo system, it will be responsible to decide which attack to do next, so the active skill controller can take that information and pass it. At 0:18 I mentioned all the core features of this demo, which are currently in development.

    • @JohnnyRouddro
      @JohnnyRouddro  หลายเดือนก่อน +1

      And yes, the combo system will contain charged attack.

  • @gabriel-xh8uo
    @gabriel-xh8uo 28 วันที่ผ่านมา

    my dream
    THANK YOU