Dave / GameDevelopment
Dave / GameDevelopment
  • 41
  • 3 909 857
RANGED COMBAT LAB - Unity Project Trailer
Finally about to release my full ranged combat lab project!
Release Date: 8. March 2023 (On Patreon)
Get it until 8. March 2023 on Patreon and get access to the MovementLab completely for free!
➤ PATREON: www.patreon.com/davegamedevelopment
MovementLab: ua-cam.com/video/9_Q9UxK7VF8/v-deo.html
Discord: discord.gg/5S3bBBq
Переглядів: 16 437

Відео

ADVANCED DUAL SWINGING in 10 MINUTES - Unity Tutorial
Переглядів 17 тис.Рік тому
ADVANCED DUAL SWINGING in 10 MINUTES - Unity Tutorial In this tutorial I'm going to show you everything you need to know to code an advanced (omni-directional) dual-swinging ability in Unity. I'll also show you how to combine this dual-swinging ability with the grappling ability from my previous grappling tutorial. In the end, you'll have an ability that let's you freely move around the air as ...
ADVANCED SWINGING in 9 MINUTES - Unity Tutorial
Переглядів 55 тис.Рік тому
ADVANCED SWINGING in 9 MINUTES - Unity Tutorial In this tutorial I'm going to show you everything you need to know to code an advanced (omni-directional) swinging ability in Unity. I'll also show you how to combine this swinging ability with the grappling ability from last tutorial and how to implement proper aim prediction. If this tutorial has helped you in any way, I would really appreciate ...
ADVANCED GRAPPLING HOOK in 11 MINUTES - Unity Tutorial
Переглядів 79 тис.2 роки тому
ADVANCED GRAPPLING HOOK in 11 MINUTES - Unity Tutorial In this video I'm going to show you how to create a precise grappling hook / grappling gun ability that you can use in any first or third person game! The ability is flexible, and can easily be used in combination with a swinging ability to provide lots of air control! If this tutorial has helped you in any way, I would really appreciate it...
ADVANCED 3D DASH ABILITY in 11 MINUTES - Unity Tutorial
Переглядів 62 тис.2 роки тому
FULL 3D DASH ABILITY in 11 MINUTES - Unity Tutorial In this video I'm going to show you how to code a full 3D Dash ability in Unity. Including dashing in multiple directions based on player input, keeping the momentum after dashing and adding camera effects to make the dash feel more alive. If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. A...
THIRD PERSON MOVEMENT in 11 MINUTES - Unity Tutorial
Переглядів 264 тис.2 роки тому
THIRD PERSON MOVEMENT in 11 MINUTES - Unity Tutorial In this video I'm going to show you how to code full third person rigidbody movement. You can use this character controller as final movement for your game or use my other tutorials to build things like wall running, climbing, sliding, crouching and much more on top of it. (And of course you can also extend this controller yourself if you wan...
Full LEDGE CLIMBING SYSTEM in 11 MINUTES - Unity Tutorial
Переглядів 37 тис.2 роки тому
Full LEDGE CLIMBING SYSTEM in 11 MINUTES - Unity Tutorial In this tutorial, I'm going to follow up on my other climbing tutorial and show you everything you need to know about coding a full ledge climbing ability, including grabbing and holding onto ledges as well as jumping off of them in any direction. If this tutorial has helped you in any way, I would really appreciate it if you leave a lik...
Full CLIMBING SYSTEM in 10 MINUTES - Unity Tutorial
Переглядів 60 тис.2 роки тому
Full CLIMBING MOVEMENT in 10 MINUTES - Unity Tutorial In this tutorial I'm going to show you everything you need to know about coding smooth climbing movement and a climb jumping ability in Unity. This will also work together with my latest wall running tutorial, with that, you get quite insane wall control :D If this tutorial has helped you in any way, I would really appreciate it if you leave...
WALL JUMPING & CAMERA EFFECTS - Unity Tutorial
Переглядів 42 тис.2 роки тому
WALL JUMPING & CAMERA EFFECTS - Unity Tutorial As a continuation to my wall run tutorial last week, I'm now going to show you how to add wall jumping and smooth camera effects (fov change and cam tilt). If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe to this channel if you want to see more tutorials like this one...
ADVANCED WALL RUNNING - Unity Tutorial (Remastered)
Переглядів 77 тис.2 роки тому
ADVANCED WALL RUNNING - Unity Tutorial (Remastered) In this video, I'm finally going to remaster my old wall running tutorial code. This wall running ability feels a lot cleaner! If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe to this channel if you want to see more tutorials like this one. Links: ➤ DOWNLOAD the ...
MOVEMENT LAB - Unity Project Trailer
Переглядів 38 тис.2 роки тому
I just finished my full MovementLab project file and created this trailer to show you all it contains. Make sure to read the note pinned in the comments! Version 1.1 Trailer: ua-cam.com/video/W4zPXPo2NQ8/v-deo.html MovementLab project file included in all of my Patreon tiers! (The cheapest one is 5$, which is more than just a fair price!) Patreon: www.patreon.com/davegamedevelopment And in case...
ADVANCED SLIDING IN 9 MINUTES - Unity Tutorial
Переглядів 97 тис.2 роки тому
ADVANCED SLIDING IN 9 MINUTES - Unity Tutorial In this video, I'm going to show you how to further improve my previous player movement controller by adding an advanced sliding ability, that supports sliding in all directions, sliding down slopes and building up speed while doing so. If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you c...
SLOPE MOVEMENT, SPRINTING & CROUCHING - Unity Tutorial
Переглядів 216 тис.2 роки тому
SLOPE MOVEMENT, SPRINTING & CROUCHING - Unity Tutorial In this video, I'm going to show you how to further improve my previous player movement controller by adding slope movement, sprinting and crouching. (You can also use your own player controller if you want to) If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe ...
FIRST PERSON MOVEMENT in 10 MINUTES - Unity Tutorial
Переглядів 1,1 млн2 роки тому
FIRST PERSON MOVEMENT in 10 MINUTES - Unity Tutorial In this video I'm going to show you how to code full first person rigidbody movement. You can use this character controller as final movement for your game or build things like dashing, wallrunning or sliding on top of it. If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also ...
THROWING Grenades, Knives and Other Objects - Unity Tutorial
Переглядів 86 тис.2 роки тому
THROWING Grenades, Knives and Other Objects - Unity Tutorial
I made a 3D PARKOUR GAME in UNITY
Переглядів 50 тис.3 роки тому
I made a 3D PARKOUR GAME in UNITY
FULL 3D ENEMY AI in 6 MINUTES! || Unity Tutorial
Переглядів 625 тис.4 роки тому
FULL 3D ENEMY AI in 6 MINUTES! || Unity Tutorial
FULL PICK UP & DROP SYSTEM for WEAPONS or ITEMS || Unity3d Tutorial
Переглядів 183 тис.4 роки тому
FULL PICK UP & DROP SYSTEM for WEAPONS or ITEMS || Unity3d Tutorial
SHOOTING with BULLETS + CUSTOM PROJECTILES || Unity 3D Tutorial (#2)
Переглядів 72 тис.4 роки тому
SHOOTING with BULLETS CUSTOM PROJECTILES || Unity 3D Tutorial (#2)
SHOOTING with BULLETS + CUSTOM PROJECTILES || Unity 3D Tutorial (#1)
Переглядів 198 тис.4 роки тому
SHOOTING with BULLETS CUSTOM PROJECTILES || Unity 3D Tutorial (#1)
My FIRST YEAR of UNITY game development!
Переглядів 34 тис.4 роки тому
My FIRST YEAR of UNITY game development!
Full WALL RUN TUTORIAL for Unity 3d
Переглядів 131 тис.4 роки тому
Full WALL RUN TUTORIAL for Unity 3d
Karlson... But YOU play the ROBOTS #2 (Unity 3d)
Переглядів 3,6 тис.4 роки тому
Karlson... But YOU play the ROBOTS #2 (Unity 3d)
ENEMIES and ABILITIES! Indie game devlog #3 (Unity 3d)
Переглядів 2,8 тис.4 роки тому
ENEMIES and ABILITIES! Indie game devlog #3 (Unity 3d)
How I made the GRAPHICS for my INDIE GAME / Devlog #2 (Unity 3d)
Переглядів 2,5 тис.4 роки тому
How I made the GRAPHICS for my INDIE GAME / Devlog #2 (Unity 3d)
Starting my NEW Game || Indie Game Devlog #1 (Unity 3d)
Переглядів 3,1 тис.4 роки тому
Starting my NEW Game || Indie Game Devlog #1 (Unity 3d)
Karlson... But YOU play the ROBOTS! (Unity 3D)
Переглядів 9 тис.4 роки тому
Karlson... But YOU play the ROBOTS! (Unity 3D)
Making of "PROTECT YOUR CHILDREN" || Ludum Dare 46 (LD 46)
Переглядів 2 тис.4 роки тому
Making of "PROTECT YOUR CHILDREN" || Ludum Dare 46 (LD 46)
Channel Banner and Profile Pic SPEEDART! (Photoshop)
Переглядів 5144 роки тому
Channel Banner and Profile Pic SPEEDART! (Photoshop)
How to make ALL kinds of GUNS with just ONE script! (Unity3d tutorial)
Переглядів 302 тис.4 роки тому
How to make ALL kinds of GUNS with just ONE script! (Unity3d tutorial)

КОМЕНТАРІ

  • @eddieinthebed
    @eddieinthebed День тому

    is there anything I can add to my code which prevents uncrouching when I'm in a vent so that my camera doesn't clip through the ceiling and I get stuck?

  • @L_O_L98yt
    @L_O_L98yt 2 дні тому

    the jump isnt working I tried setting ready to jump to true and it isnt working any one have an idea whats happening

  • @roninxronin_
    @roninxronin_ 2 дні тому

    Saved from failing an assignment. Thank you so much

  • @Rawrfdger
    @Rawrfdger 3 дні тому

    You didnt show how you made the camera holder...

  • @bobjrgeorge4577
    @bobjrgeorge4577 3 дні тому

    whenever I try to walk down the slope I go in the air then fall please help

  • @redpsycho6941
    @redpsycho6941 4 дні тому

    Did not work

  • @TheDeathskull37
    @TheDeathskull37 4 дні тому

    There are a few changes I made to this. The AI needs to make sure that the path is complete before chasing or attacking the player. Otherwise, it will walk and float across gaps, walk through walls, and attack through walls. For enemies that shoot projectiles, I made them raycast towards the player to see if the player is within their line of sight, and if they don't see the player, they move closer until they can actually hit the player with the projectile. Otherwise, they get stuck trying to shoot a player from behind a wall.

  • @scorntheashwing423
    @scorntheashwing423 5 днів тому

    3:50 Just want to remember where I'm at. I'll delete this comment when I finish with this video.

  • @maco2399
    @maco2399 6 днів тому

    not working , hard to identify what need to do

  • @thegw8841
    @thegw8841 7 днів тому

    if you are using unity 6 to make this work properly with the grappling tutorial replace these 2 lines in your start grapple function: lr.enabled = true; lr.SetPosition(1, grapplePoint); to this: lr.positionCount = 2; lr.SetPosition(0, gunTip.position); lr.SetPosition(1, grapplePoint); lr.enabled = true; and then now ur going to encoure a problem when your trying to swing your player will swing but the line is invisable and to fix that go to your start swing function and at the end add: lr.enabled = true; and then go to your stop swing function and at the end of it add lr.enabled = false; now it should work perfectly with grappling !

  • @thegw8841
    @thegw8841 7 днів тому

    to anyone watching this using unity 6 your change your code inside of your "public vector 3 CalculateJumpVelocity(Vector3 startPoint, Vector3 endPoint, float trajectoryHeight)" in your player movement script to this float gravity = Mathf.Abs(Physics.gravity.y); // Ensure gravity is positive float displacementY = endPoint.y - startPoint.y; Vector3 displacementXZ = new Vector3(endPoint.x - startPoint.x, 0f, endPoint.z - startPoint.z); // Calculate velocity in the Y direction float sqrtValueY = Mathf.Sqrt(Mathf.Max(0, 2 * gravity * trajectoryHeight)); Vector3 velocityY = Vector3.up * sqrtValueY; // Calculate velocity in the XZ direction float timeToReachApex = sqrtValueY / gravity; float timeToDescend = Mathf.Sqrt(Mathf.Max(0, 2 * (displacementY - trajectoryHeight) / gravity)); // Ensure that we avoid division by zero float time = Mathf.Max(0.0001f, timeToReachApex + timeToDescend); Vector3 velocityXZ = displacementXZ / time; // Return the combined velocity vector return velocityXZ + velocityY; becuase if u code it the same way he did in the video your gonna get a NaN error in unity

  • @FuryTheFurious
    @FuryTheFurious 7 днів тому

    the camera is so extremely slow compared to yours, yet its the exact same settings.

  • @jeremyremy9281
    @jeremyremy9281 10 днів тому

    full of bugs, like all your systems... 😠😠

  • @theozetterberg4591
    @theozetterberg4591 10 днів тому

    tysm with a bit of tweaking this worked really good

  • @figure9224
    @figure9224 10 днів тому

    Thats fps chess

  • @thegw8841
    @thegw8841 11 днів тому

    im not sure if he covered it in the video but to whoever this helps in void of update of your sliding script go to this line: if (Input.GetKeyDown(slideKey) && (horizontalInput != 0 || verticalInput != 0) and add '&& pm.grounded' (or whatever reference name you have your player movment script set to) to the end of that line of code so it should look like this: if (Input.GetKeyDown(slideKey) && (horizontalInput != 0 || verticalInput != 0) && pm.grounded) also go into your player script and make the 'grounded' bool public when you do this so you dont get an error message in unity but basically what adding that does makes it to where your player will only slide if there on the ground or slope

  • @watershub2481
    @watershub2481 11 днів тому

    Thankyou so much for helping

  • @yahyabzl1112
    @yahyabzl1112 11 днів тому

    I did everything like the tutorial but when i try to play the ai go to space any solutions?

  • @ninidze-t6w
    @ninidze-t6w 11 днів тому

    Thanks a lot for the tutorial!

  • @rizkiramadhanu8224
    @rizkiramadhanu8224 11 днів тому

    thanks for the tutorial dave for people if you cant jump i just delete "&& grounded" part from // when to jump if(Input.GetKey(jumpKey) && readyToJump && grounded) --> if(Input.GetKey(jumpKey) && readyToJump) and change "bool readyToJump;" into "bool readyToJump = true;" and add "readyToJump = true;" in start() and change jump coldowns into 1 sec

  • @Greeny_Official
    @Greeny_Official 11 днів тому

    In case your player isn't following the cam directly... Doing this helped fix my problems: //rotate orientation Vector3 viewDir = player.position - transform.position; viewDir.y = 0f;

  • @Katskas
    @Katskas 12 днів тому

    I did everything right but I just wanted to know how do I keep it just at Top down, I don’t want it to be able to switch to 3rd person or combat.

  • @nazongalanos5406
    @nazongalanos5406 12 днів тому

    Good job, how to create this in VR (Quest 3). Thanks.

  • @Lancer_3d
    @Lancer_3d 12 днів тому

    When i run the game for the first time The camera starts to move in a direction like a rocket and doesn't stop The script Is on MoveCam How can this be solved

  • @mrlowfps2008
    @mrlowfps2008 12 днів тому

    Howd u make the layermasks so that WhatsiGround is set to WhatisGround?

  • @theotherothersean
    @theotherothersean 12 днів тому

    So I get the idea of chase being that you set nav agent to player and you keep checking if we reach attack range. But what if we want the enemy to keep a distance as well?

  • @UnderGecko
    @UnderGecko 12 днів тому

    I can't get the player to move. I don't think any key was ever set to move the player forward or backward?

  • @IngridduPlooy
    @IngridduPlooy 13 днів тому

    horrible tutorial. Did not work at all, wasted my time. This code is barf.

    • @pickles1762
      @pickles1762 11 днів тому

      Its from 4 years ago what did you expect

  • @popcornvr3189
    @popcornvr3189 14 днів тому

    how do you manage to pick such a bad website for downloading files

  • @abirzebiri4347
    @abirzebiri4347 16 днів тому

    make bug and crash my game 😥😭

  • @KoletoKoleto-v5t
    @KoletoKoleto-v5t 17 днів тому

    i tried doing what you did i was doing it for 4 hours only for it to not work.

  • @speedle9190
    @speedle9190 17 днів тому

    man released a banger combat lab trailer and then dropped off the face of the earth

  • @Daniel-oy4no
    @Daniel-oy4no 18 днів тому

    I know I’m a little late but I got a problem with my player movement. My character goes way too fast once I put it in combat mode. It also slants my player a little to the right. Can anyone help?

  • @pyshiv
    @pyshiv 19 днів тому

    discord server link pls

  • @glitchgaming9303
    @glitchgaming9303 19 днів тому

    Is it just me or is anyone else struggling to just open a script........

  • @WallisBrown-Sui
    @WallisBrown-Sui 19 днів тому

    THANK YOU SOOOOOOOOOO MUCH

  • @olivername
    @olivername 20 днів тому

    hi can I use this if I have not got a player I just use XR organ for vr

  • @BRIGHTYKINGL5
    @BRIGHTYKINGL5 20 днів тому

    I CANT JUMP

  • @Colinnnnnn2424
    @Colinnnnnn2424 22 дні тому

    Hippie hopping you code is now my property

  • @Kattenb
    @Kattenb 22 дні тому

    Ur jumping different from mine

  • @ralev_tsu
    @ralev_tsu 24 дні тому

    Is there any way you could make a tutorial on how to add animations for a character? Thanks for the tutorial btw!

  • @freakishlyfilledpie
    @freakishlyfilledpie 24 дні тому

    my character won't move even though I checked the script from my other game for the movement and they were exactly the same, so my character wont move.

  • @jarotv2947
    @jarotv2947 25 днів тому

    can someone post the code please. I am not writing all of that ! ╰(*°▽°*)╯

  • @titusdimarco9178
    @titusdimarco9178 25 днів тому

    yo if enyone can help for some reson my camra always telaports away from my player, no mader what i do it wont stay inside of the player, idk y.

    • @Yuzuhanaoka
      @Yuzuhanaoka 23 дні тому

      Check your transform of Player Camera Object(child of camera holder). Reset transform position to 0,0,0

  • @Guts-King1
    @Guts-King1 26 днів тому

    It doesn't matter if I don't add the jump system ?

  • @cedriclaps
    @cedriclaps 26 днів тому

    I am facing an Issue with a Spawnpoint problem. The problem is we searching for a GameObject with Tag "SpawnPoint" the spawnpoint got found but the Position will not apply. Before the new Movement Script the position applied correctly

  • @LeonNuredini-b4b
    @LeonNuredini-b4b 26 днів тому

    I learned a great deal from your videos. Thank you!

  • @ayan251
    @ayan251 26 днів тому

    why i need to code? is there an option to not code but get the camera move in game mode. Its a simple functionality. Why is Unity so complicated? 😭

    • @hollowsilk
      @hollowsilk 18 днів тому

      because thats not how any game engine works. a camera needs to be able to do anything and people would complain about some neiche functionality so needing to code it just makes sense.

  • @ezrabridger3322
    @ezrabridger3322 27 днів тому

    if anyone is still having issues getting the camera to work, just don't add the "private" before update and start and it works fine

  • @Enti3774
    @Enti3774 28 днів тому

    I put in all the camera code and for some reason most of it didn't change colour like it did for you