- 15
- 117 761
Rootbin
Sweden
เข้าร่วมเมื่อ 28 พ.ย. 2022
buymeacoffee.com/rootbin
Indie Game Dev, making videos about Game Development.
Devlogs, tutorials and more!
Join the Discord channel discord.com/invite/EFrYczuAwc
Indie Game Dev, making videos about Game Development.
Devlogs, tutorials and more!
Join the Discord channel discord.com/invite/EFrYczuAwc
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.
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!
So many of us developers have that same ending as this one 😂
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.
Thanks for letting me know, i Will see if they changed something
@@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
It's a simple and amazing video. I don't know much about English, so I use automatic translation, can you add Korean subtitles?
Thank you very much! I dont know how to do that, I will try
@@rootbindev Thank you! 😀
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
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 😄
@@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 🤗
@@khoadtvdvt6007 Well done! Keep it up
Nice and simple tutorial, thank you. What if i want a moving obstacle, how should i update the nav mesh?
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"?
I use netcode for gameobjects for this video
@@rootbindev THX
um... i dont have a network manager script... i also dont know how to make one or get one
You get one by installing the netcode for gameobjects package, as shown in 0:44 🙂
And yes, it works for 3D games aswell :)
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?
@@wawawalker i might do that when i have time! Good idea 👍
Thank you!
You are welcome!
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.
Nerds are awesome!
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
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.
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.
Thank you so much! This tutorial was phenomenal. :D
thank you for watching!
Would work to make a online cod?
@@stringbean5920 Netcode for gameobjects is not recommended for high intensity games, then you should use netcode for entities.
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.)
Correct, so it depends on what kind of game you are making. In a competetive game you are right
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!
where is the part with the server side? Thats the trickiest part by far :)
This handles the server and the client
The player who hosts the game is the server. no additional "server side" code is required
@@rootbindev Yes but thats not realistic :) Multiplayer game companies all have theirs own servers
@@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
@@rootbindev I mean that using a player as the host is not reliable at all :)
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.
Thank you very much! I Will do more tutorials soon
@@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?
@@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
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
I dont think so
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.
thanks for the advice!
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
Thank you!
Shortest vid helped me with the most complex problem. Setting OnServerIsAuthoritative() to false did the trick resolving my sync issues. Ty sir.
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
I Will try to make a video and explain when to use what :)
Thx for the video, i will be back soon
@@EvS444awesome!
God send
@@SpaghettiGmes Thank you
Unfortunately, no matter what I do, my player does not move
im sorry to hear that
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
hmm it should work
I NEEEED ANOTHER VIDEO IM DOING MY COLLEGE PROJECT AND I NEEEDE DISTINCTION
its due 27th
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?
Why is unity.services.core not showing up
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&)
I'm having trouble making a network sorite renderer in order to flip my player could you help ?
Also i love your content
you can use an RPC to call a flip method that sets players X scale to -1
@@rootbindev ok thx <3
I have been looking for hours for a tutorial that works for 2d
I'm glad you found it, I'll make more 2d unity multiplayer tutorials
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!
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.
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.
thank you very much!
Hey can you make a link to the whole Projekt?
Is it public server or just local
Your choice
@@rootbindev the method that you showed is for local or public. And where i can choose it
@@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
aww that ending 😢
💔
How do you make the player spawn on the start like photon does?
By assigning the player prefab to the player_prefab Field
@@rootbindev Idk how to do that im to stupid can you please make a quick short or video rq?
@@ByteVR12 if you watch this video, i do it at 2:32
@@rootbindev But when i tested the game without being in the editor and in the full build it just froze
@@rootbindev Btw you should make a paintball (2D) Tutorial cuz I'm making a 2D paintball game, but I can't find any tutorials...
any chance i can have it rotate so it looks more natural?
Great videos, thank you. Looking forward to the next one :)
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 :)
thank you! I might be able to help if you join the discord
@@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 :)
@@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
@@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
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
thank you, I'm glad I could help!
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
@@_MiRaD_ Thank you, good idea!
Hey, I made it to the end of this, very good tutorial!
@@pinumber745 thank you!
God I wish your simple and straight to the point tutorials were here everytime I have a question about a simple topic!
Ill do my best 😅
Thank You So Much. I search his tutorial during month. Please make tutorial , spawning player stars , what read from database(firebasr őr etc.)
thank you! yes I will make more tutorials :)
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 👍👍👍👍👍👍👍