Rootbin
Rootbin
  • 15
  • 117 761
Setup UNITY RELAY in less than 5 minutes
rootbin.dev
Rootbin_dev
This is a short and quick tutorial where I go through how to setup unity Relay service very quickly.
There are plenty of other, more in-depth, tutorials on this topic if you want more information.
มุมมอง: 1 431

วีดีโอ

BROTATO in UNITY #8: Adding more enemies! The CHARGER
มุมมอง 1K4 หลายเดือนก่อน
In this video we add a charger enemy
Unity Multiplayer 2024, Syncing Player position and name!
มุมมอง 1.4K4 หลายเดือนก่อน
In this Unity Netcode For GameObjects multiplayer tutorial I will focus on showing you how you can let each player set their own name, which other players can see
2024 TILEMAP PATHFINDING, Unity AI
มุมมอง 3.6K4 หลายเดือนก่อน
Unity 2D Tutorial on how to setup Navmesh pathfinding using unity tilemaps. NavMeshPlus from Github: github.com/h8man/NavMeshPlus SPRITES tiles.png i.ibb.co/gy5V3zS/tiles.png The image will appear very small in the link. It will be in the center, right click it and save image. 0:00 Setting up tiles and tilemaps 3:22 Navmesh Navigation
BROTATO in UNITY #7: GameManager, GameOver! Player dies
มุมมอง 8095 หลายเดือนก่อน
BROTATO in UNITY #7: GameManager, GameOver! Player dies
Unity Multiplayer in 3 minutes
มุมมอง 23K6 หลายเดือนก่อน
Unity Multiplayer, using Netcode For GameObjects quickly explained to show how easy it is to get started with.
BROTATO in Unity #6: Control the timer and waves of enemies using a wavemanager
มุมมอง 1K7 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like / roguelike / roguelite (or any 2d vampire survivor) game in Unity.
BROTATO in Unity #5: Add more guns using a gunmanager
มุมมอง 7317 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like / roguelike / roguelite (or any 2d vampire survivor) game in Unity.
BROTATO in Unity #4: How to make a gun that aims and shoots automatically
มุมมอง 1.1K7 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like (or any 2d vampire survivor) game in Unity.
BROTATO in Unity #3: How to create an enemy manager in unity, to spawn multiple enemies on a timer
มุมมอง 9797 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like (or any 2d vampire survivor) game in Unity.
BROTATO in Unity #2: How to create an enemy in unity
มุมมอง 1.3K7 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like (or any 2d vampire survivor) game in Unity. This is part 2 of the series.
How to make BROTATO roguelike in unity! Full game tutorial from scratch. #1
มุมมอง 4.2K7 หลายเดือนก่อน
In this tutorial I will show you how to make a brotato-like / roguelike / roguelite (or any 2d vampire survivor) game in Unity. SPRITES: github.com/RGSMTHLS/brotatolike Scripts coming soon
Unity Tutorial: ROGUELIKE Room / Dungeon Generation (Like the Binding of Isaac)
มุมมอง 24Kปีที่แล้ว
Tutorial on how to make roguelike rooms and doors generation in Unity, like it's done in the binding of isaac. Scripts coming soon. Join the discord server: discord.gg/EFrYczuAwc 0:00 Setup Unity Scene 4:42 Coding "Room" script 6:14 Coding "RoomManager" script 20:15 Make rooms spawn randomly 21:49 Adjacent Rooms logic 25:00 Open Doors 35:06 Outro
2024 AI Pathfinding: Unity 2D Pathfinding with NavMesh tutorial in 5 minutes
มุมมอง 52Kปีที่แล้ว
GitHub project for 2D Navmesh pathfinding: github.com/h8man/NavMeshPlus If you want to know how to bake at runtime, you can read about it here: github.com/h8man/NavMeshPlus/wiki/HOW-TO#bake-at-runtime Join the discord server: discord.gg/EFrYczuAwc
How to create a healthbar in unity in less than 5 minutes
มุมมอง 663ปีที่แล้ว
Short unity tutorial on how to make a healthbar!

ความคิดเห็น

  • @abdullahnaim10
    @abdullahnaim10 9 ชั่วโมงที่ผ่านมา

    So many of us developers have that same ending as this one 😂

  • @chelix8768
    @chelix8768 2 วันที่ผ่านมา

    Hello, I followed all your steps but it seams that var relayServerData = new RelayServerData(allocation, "dtls"); isn't working on my side. It's as if allocation and DTLS were no longer the expected elements in the function signature.

    • @rootbindev
      @rootbindev 2 วันที่ผ่านมา

      Thanks for letting me know, i Will see if they changed something

    • @chelix8768
      @chelix8768 2 วันที่ผ่านมา

      @@rootbindev I you find something let me know, I'm stuck since 2h right know and I just want to throw my computer away xD

  • @서울_2호선
    @서울_2호선 6 วันที่ผ่านมา

    It's a simple and amazing video. I don't know much about English, so I use automatic translation, can you add Korean subtitles?

    • @rootbindev
      @rootbindev 6 วันที่ผ่านมา

      Thank you very much! I dont know how to do that, I will try

    • @서울_2호선
      @서울_2호선 6 วันที่ผ่านมา

      @@rootbindev Thank you! 😀

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

    I had stuck at this problem many days, then I found your vid. After the struct creation, I have no idea what are you doing, too many strange syntax 😢, are there any ways else to solve this problem sir

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

      Using the latest versions of unity and Netcode for GameObjects I dont think you need to use the strange syntax for strings anymore. But, if it was an easier way to solve the problem when I created the video, I would have used that solution instead 😄

    • @khoadtvdvt6007
      @khoadtvdvt6007 7 วันที่ผ่านมา

      @@rootbindev At 2AM, my code is finally work. I used your OnNetworkSpawn function which I can understand and I added some RPC stuffs, server call, client call something like that instead and it works fine somehow 😀 Thank you for giving me the idea sir 🤗

    • @rootbindev
      @rootbindev 7 วันที่ผ่านมา

      @@khoadtvdvt6007 Well done! Keep it up

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

    Nice and simple tutorial, thank you. What if i want a moving obstacle, how should i update the nav mesh?

  • @iop313
    @iop313 9 วันที่ผ่านมา

    What version U using? This not find me the network EDIT: I found the Netcode In the pakage What Version did U use? "Netcode for gameobjects" or "Netcode for Entities"?

    • @rootbindev
      @rootbindev 9 วันที่ผ่านมา

      I use netcode for gameobjects for this video

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

      @@rootbindev THX

  • @CHRGR.001
    @CHRGR.001 11 วันที่ผ่านมา

    um... i dont have a network manager script... i also dont know how to make one or get one

    • @rootbindev
      @rootbindev 11 วันที่ผ่านมา

      You get one by installing the netcode for gameobjects package, as shown in 0:44 🙂

    • @rootbindev
      @rootbindev 10 วันที่ผ่านมา

      And yes, it works for 3D games aswell :)

  • @wawawalker
    @wawawalker 11 วันที่ผ่านมา

    Could you make a follow up explaining how to add colliders? As in they're constant on the walls and toggle off when the door is open and on when it's closed?

    • @rootbindev
      @rootbindev 11 วันที่ผ่านมา

      @@wawawalker i might do that when i have time! Good idea 👍

  • @hazu0
    @hazu0 11 วันที่ผ่านมา

    Thank you!

    • @rootbindev
      @rootbindev 11 วันที่ผ่านมา

      You are welcome!

  • @JulianCiszek
    @JulianCiszek 13 วันที่ผ่านมา

    Also, quite surprisingly even though everyone thinks im a nerd at school, this did kinda make everyone want to be my friend, cuz then they could "Test" my game during class as opposed to working.

    • @rootbindev
      @rootbindev 13 วันที่ผ่านมา

      Nerds are awesome!

  • @JulianCiszek
    @JulianCiszek 13 วันที่ผ่านมา

    Hey, I love your tutorials! I might suggest showing how to input a ip address to show how to use it in a realistic way so you can play on the same subnet, because I followed this for my unity multiplayer game in 3d, but that was a major thing that this lacked, showing how to create a basic starting screen, and being able to input an ip adress

    • @rootbindev
      @rootbindev 13 วันที่ผ่านมา

      Thank you very much! I would suggest using Unity Relay instead, I have a tutorial on that! It is not very often you make games today where you play on the same subnet or have to enter a specific IP address.

  • @Nanifique
    @Nanifique 14 วันที่ผ่านมา

    I was following Unity's documentation on setting up multiplayer with join code and best thing I got was Multiplayer Widgets. Was just wondering if they also work via relay? Now that I learned about relay stuff I'll refractor the code to use relay since it's more flexible than those widgets.

  • @The_Littlest_Cabbage
    @The_Littlest_Cabbage 22 วันที่ผ่านมา

    Thank you so much! This tutorial was phenomenal. :D

    • @rootbindev
      @rootbindev 22 วันที่ผ่านมา

      thank you for watching!

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

    Would work to make a online cod?

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

      @@stringbean5920 Netcode for gameobjects is not recommended for high intensity games, then you should use netcode for entities.

  • @Stuntman5701
    @Stuntman5701 27 วันที่ผ่านมา

    why would you ever set ServerAuthoritative to false? it opens the pandoras box to every cheater. (you really dont want to trust the client, ever.)

    • @rootbindev
      @rootbindev 27 วันที่ผ่านมา

      Correct, so it depends on what kind of game you are making. In a competetive game you are right

  • @bloodmoondefense
    @bloodmoondefense 27 วันที่ผ่านมา

    The names of the components have changed in a recent version. I couldn't get bake to work and then I realized I was using "NavMesh Surface" but I should be using "Navigation Surface". Make sure all your components say "Navigation" instead of "NavMesh". That means I ended up needing "Navigation Modifier", "Navigation Surface" and "Navigation CollectSources2d". I hope this saves someone else. Best of luck!

  • @blackrachmaninov
    @blackrachmaninov 28 วันที่ผ่านมา

    where is the part with the server side? Thats the trickiest part by far :)

    • @rootbindev
      @rootbindev 28 วันที่ผ่านมา

      This handles the server and the client

    • @rootbindev
      @rootbindev 28 วันที่ผ่านมา

      The player who hosts the game is the server. no additional "server side" code is required

    • @blackrachmaninov
      @blackrachmaninov 28 วันที่ผ่านมา

      @@rootbindev Yes but thats not realistic :) Multiplayer game companies all have theirs own servers

    • @rootbindev
      @rootbindev 27 วันที่ผ่านมา

      @@blackrachmaninov What do you mean by not realistic? There are plenty of games that do it this way. Also, even if you're using your own servers, this code is enough for that aswell. Just start the server and connect with different clients, there'sno tricky server-side part that isn't covered

    • @blackrachmaninov
      @blackrachmaninov 27 วันที่ผ่านมา

      @@rootbindev I mean that using a player as the host is not reliable at all :)

  • @AaronAsherRandall
    @AaronAsherRandall 28 วันที่ผ่านมา

    Dude this is amazing. If you did a more detailed tutorial, even just 20 minutes that covers how to set up stuff like login, authentication, matchmaking, that would be amazing.

    • @rootbindev
      @rootbindev 28 วันที่ผ่านมา

      Thank you very much! I Will do more tutorials soon

    • @AaronAsherRandall
      @AaronAsherRandall 28 วันที่ผ่านมา

      @@rootbindev Thanks for the quick reply! I just watched your Unity Relay video as well. Is that setup fundamentally different from this video? This video seems like it is server authoritative, am I correct?

    • @rootbindev
      @rootbindev 28 วันที่ผ่านมา

      @@AaronAsherRandall this video is about unity netcode in general, Relay is how you can use unity netcode to create and join games on unity servers, without the need of port forwarding etc

  • @MFool64
    @MFool64 29 วันที่ผ่านมา

    I am a beginner, so forgive my question: do I have to credit NavMeshPlus as a Extension in my game? I mean, do I have to write it in an "Extention Section" in the credits screen? Forgive me

    • @rootbindev
      @rootbindev 29 วันที่ผ่านมา

      I dont think so

  • @JohnDoe-c5c
    @JohnDoe-c5c หลายเดือนก่อน

    You should create a tutorial on how to add proper authentication login system username and psw. and also how to join global rooms and not just other room ids. Add a link to buy u a coffe id deff buy u one.

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

      thanks for the advice!

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

    Exactly what i needed. I’ve been trying to get this to work for hours and you solved it in 24 minutes. Thank you so much

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

      Thank you!

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

    Shortest vid helped me with the most complex problem. Setting OnServerIsAuthoritative() to false did the trick resolving my sync issues. Ty sir.

  • @ZombieChicken-X
    @ZombieChicken-X หลายเดือนก่อน

    so confused as to how to even start learning this stuff. When do I use Multiplay vs Relay, when do I do use which unity gaming services?!! so lost

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

      I Will try to make a video and explain when to use what :)

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

    Thx for the video, i will be back soon

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

      @@EvS444awesome!

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

    God send

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

      @@SpaghettiGmes Thank you

  • @پروانهمشکاتی
    @پروانهمشکاتی หลายเดือนก่อน

    Unfortunately, no matter what I do, my player does not move

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

      im sorry to hear that

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

    i have a problem and it happens for when a client joins they only see their name and the names of the client who joined after them but the clients who were already in the server before have no names in the new clients screen

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

      hmm it should work

  • @LukeChase-f3g
    @LukeChase-f3g หลายเดือนก่อน

    I NEEEED ANOTHER VIDEO IM DOING MY COLLEGE PROJECT AND I NEEEDE DISTINCTION

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

    do you know how to make host and client spawn with different player prefabs, i know it use network prefabs lists. but when i tried it doesn't work. do you have solution?

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

    Why is unity.services.core not showing up

  • @FidaHussain-nx7ql
    @FidaHussain-nx7ql หลายเดือนก่อน

    NullReferenceException: Object reference not set to an instance of an object NavMeshPlus.Components.NavMeshSurface.CalculateWorldBounds (System.Collections.Generic.List`1[T] sources) (at Assets/NavMeshComponents/Scripts/NavMeshSurface.cs:440) NavMeshPlus.Components.NavMeshSurface.UpdateNavMesh (UnityEngine.AI.NavMeshData data) (at Assets/NavMeshComponents/Scripts/NavMeshSurface.cs:230) NavMeshPlus.Components.Editors.NavMeshAssetManager.StartBakingSurfaces (UnityEngine.Object[] surfaces) (at Assets/NavMeshComponents/Editor/NavMeshAssetManager.cs:124) NavMeshPlus.Components.Editors.NavMeshSurfaceEditor.OnInspectorGUI () (at Assets/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs:273) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <8e887700cd7e4674989da7b046e8eaa6>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

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

    I'm having trouble making a network sorite renderer in order to flip my player could you help ?

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

      Also i love your content

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

      you can use an RPC to call a flip method that sets players X scale to -1

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

      @@rootbindev ok thx <3

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

    I have been looking for hours for a tutorial that works for 2d

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

      I'm glad you found it, I'll make more 2d unity multiplayer tutorials

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

    Great guide! got it all working just from the video with minor fixes due to my own errors. I was curious on how one would go about placing the floor and prefabs of items in these rooms as they're being generated, as well as enemy spawning. I'm not sure if you have a video on that already but I'm trying to make a rogue like and this was really useful nonetheless!

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

      thank you! there are many ways to do that, I would probably have some kind of trigger when the player enters the room, and in that case spawn the enemies. you can add more things to the room prefab such as enemy spawn points, a script to hold different kind of enemies, items, etc. then when player enters room (hits a trigger collider or something), then spawn some stuff.

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

    This is by far the best video for Unity NavMesh. I have come back to this video dozens of times at this point, and no other guide keeps it as simple and straight forward while also being extremely helpful.

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

      thank you very much!

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

    Hey can you make a link to the whole Projekt?

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

    Is it public server or just local

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

      Your choice

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

      ​@@rootbindev the method that you showed is for local or public. And where i can choose it

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

      @@bober3706 if you mean local as in on the same network you dont have to change anything. to make it public you could use unity relay, which i made another tutorial about

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

    aww that ending 😢

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

      💔

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

    How do you make the player spawn on the start like photon does?

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

      By assigning the player prefab to the player_prefab Field

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

      @@rootbindev Idk how to do that im to stupid can you please make a quick short or video rq?

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

      @@ByteVR12 if you watch this video, i do it at 2:32

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

      @@rootbindev But when i tested the game without being in the editor and in the full build it just froze

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

      @@rootbindev Btw you should make a paintball (2D) Tutorial cuz I'm making a 2D paintball game, but I can't find any tutorials...

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

    any chance i can have it rotate so it looks more natural?

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

    Great videos, thank you. Looking forward to the next one :)

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

    Hi, great videos, thank you. I have a slight problem. After i have created the gun animations, when i play the game now, the guns shoot and animate but they seem to be detached from my character so they dont move with him. Projectiles are also firing from my egg man, despite the guns not moving wiht him. I went over the video again but it happened again. Any tips would be fantastic. Thank you :)

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

      thank you! I might be able to help if you join the discord

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

      @@rootbindev I figured it out. I accidently set the first position at 0 on the animation and i think thats what made the gun stay stationary. WOrks now, and on to the next vid :) i joined the discord too, thank you :)

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

      @@Hypn0ninjaGaming How did you do it? Mine does the same thing, the gun stays in the middle of the screen shooting and my character walks around without a gun

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

      @@jonesbit_ Hi, ill try and explain the best i can. When you create the animations on the gun, make sure not to set the current transform start point at the beginning of the animation. I believe this is what locks the gun to that location point on the screen. Hope this makes sense, if not ill try and explain in more detail

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

    Amazing and super clear tutorial. I have experience with ue5 networking and I wanted a straight forward guide on how to do it in unity

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

      thank you, I'm glad I could help!

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

    Thanks for making this tutorials, now show us how to fix Game over and add items. Of course will be good to see how you will add another hero and posibility to chose them

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

      @@_MiRaD_ Thank you, good idea!

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

    Hey, I made it to the end of this, very good tutorial!

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

      @@pinumber745 thank you!

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

    God I wish your simple and straight to the point tutorials were here everytime I have a question about a simple topic!

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

      Ill do my best 😅

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

    Thank You So Much. I search his tutorial during month. Please make tutorial , spawning player stars , what read from database(firebasr őr etc.)

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

      thank you! yes I will make more tutorials :)

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

    You have no idea how much time I spent trying to figure out A* pathfinding, turns out I just needed to try something different. Thanks dude 👍👍👍👍👍👍👍