How To Make A Unity Multiplayer Character Selection Menu - Part 1

  Рет қаралды 23,551

Dapper Dino

Dapper Dino

Күн бұрын

Пікірлер: 65
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Be sure to check out the GitHub Repo if you would like to use the template to follow along with future tutorials: github.com/DapperDino/Multiplayer-Character-Select
@jeanmestti6195
@jeanmestti6195 Жыл бұрын
you're the best bro, thanks a lot!
@IronPaul
@IronPaul Жыл бұрын
You have some of the best and clearest Unity multiplayer tutorials on KZbin. It's good that you're back. I look forward to each lesson like a new TLoU series)
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Thanks for the kind words! Glad to be back :)
@mozzarella35
@mozzarella35 Жыл бұрын
my favorite part was when dapper said "It's dappin time" and proceeded to dino all over the netcode. jokes aside this dude makes great content
@NpXAutobot
@NpXAutobot Жыл бұрын
you are the man! keep it up
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Thanks, will do!
@ItayK-1
@ItayK-1 Жыл бұрын
Thank you so much! i am making a funny smash bros like game for me and my friends to goof around in, this tutorial was so well made! thank you so much!
@mr.introloon351
@mr.introloon351 Жыл бұрын
Hey ! Thank you for making all these tutorials for us! it's helping quite a lot. I was wondering if you can make a video about Client Side prediction and Client Reconciliation?
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
It will be covered in varying degrees of complexity throughout the tutorials. Technically here we predict when selecting a character as we update the UI locally before sending the RPC to the server to change character as to not feel the latency. If you're referring specifically to movement prediction then it gets a lot more complex and I still need to learn more on that before I'm comfortable teaching it. (I think Unity's roadmap suggests that they are working on making it easier to implement prediction and lag compensation at some point in the future)
@hotrod8903
@hotrod8903 9 ай бұрын
Hey there, this is a nice video so far. I do have a couple of small questions before I continue on with the video. How is this character select screen going to connect to the main menu? How can you take off the main menu screen to create your character select screen without deleting the main menu screen?
@leventerdem8747
@leventerdem8747 10 ай бұрын
Hello, my characters select buttons spawn on top of each other for some reason
@nemethszabolcs9239
@nemethszabolcs9239 Жыл бұрын
Nice work, please more video :)
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
More to come!
@nemethszabolcs9239
@nemethszabolcs9239 Жыл бұрын
@@DapperDinoCodingTutorials Hello, I can not solve my issue.. When im joining or selecting charakcer as "host" or "client" playerCards do not show changes. When I leave with client, after that appearing players Id in PlayerCards.
@werlig
@werlig Жыл бұрын
I've everything like in the video, but the selected character by the client is not synchronizing. My code and how I have set up my components are exactly the same as in the repository, however, it's not working :(
@perspectives2202
@perspectives2202 Жыл бұрын
Please move these series, I need you for my project. HERO
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Happy to help!
@baanan
@baanan Жыл бұрын
thank you 🙏🙏
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Glad I could help!
@haesslicherhuan
@haesslicherhuan Жыл бұрын
I have an error that says: Assets\Scripts\CharacterSelectDisplay.cs(16,47): error CS8377: The type 'CharacterSelectState' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NetworkList'. How can i fix this?
@haesslicherhuan
@haesslicherhuan Жыл бұрын
nevermind, found it out. I declared the CharacterSelectState as a class and not a struct.... my god...
@realisticlyunavailable8355
@realisticlyunavailable8355 Жыл бұрын
@@haesslicherhuan Thanks bro I was about to pull the trigger
@MosleyC92
@MosleyC92 Жыл бұрын
Found the issue for me. On the CharacterSelectState Class make sure it goes public struct CharacterSelectState for the class name. Don't know if this is too late to tell you though haha
@brettmorgan4775
@brettmorgan4775 4 ай бұрын
Downloading this project fresh and opening it up as it is, "build & run" gets stuck at a blank screen. Running it in the editor appears to work but that doesn't let me run multiple to test it out. Any help on this would be greatly appreciated.
@bunko181
@bunko181 6 ай бұрын
i followed along and everything is fine, but the button for the characters are not working. it seems that the buttons are not working because it wont display the character info. i even made sure to add the on click callback for the charactericonimage. any help?
@YevheniiZubov
@YevheniiZubov Жыл бұрын
thx for tutor!
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Welcome!
@mcgator1208
@mcgator1208 Жыл бұрын
Is this translatable to bolt? (Unity s visual scripting)
@ВасечкаЛазарев
@ВасечкаЛазарев Жыл бұрын
what is the difference between Mirror and NGO for you and why are you not doing Mirror now, but doing NGO
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
There are 2 main reasons for me, 1. I prefer official solutions usually over 3rd party 2. It means that when I want to use UGS for matchmaking, server hosting, etc... It's all designed to work with Unity (mainly) which makes it easier to integrate and easier to get help if needed as it's their own solution and services. Hope this helps you understand why I made this choice. These are my main reasons though I'm sure I could think of more with more time :D
@joshdev09
@joshdev09 Жыл бұрын
im having problem, im using steamworks transport and when i connect the host theres 2 playercards enabled and they sync eachother and when a client joins they see nothing none of it shows
@lachlanpott7484
@lachlanpott7484 5 ай бұрын
Hey i've completed the entire series and added additional things such as creating public or private lobbies and specifying the amount of player per lobby, however one thing i'm slaving my head over is trying to add inputted player names from the MainMenu and have them show in the lobby, if anyone knows anything on how to do this it would be much appreciated.
@waveclovergems2106
@waveclovergems2106 11 ай бұрын
Hi Dapper Dino, I have a question. I want to create a Login, Select Character, Create Character, and Game World Scene for the Client Side and Server Side ServerStart at Game World Scene only, Can I use netcode for game objects to achieve this?
@cheetah7887
@cheetah7887 Жыл бұрын
how do i make the player cards
@OniroStudio.
@OniroStudio. Жыл бұрын
Could you make a video about the rooms? How to implement one?
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Can you be more specific?
@_Smileyyy
@_Smileyyy Жыл бұрын
I know this is late but i was wondering if you could do a map selection tutorial for multiplayer
@theWEAREANIME
@theWEAREANIME Жыл бұрын
Can Someone Help me, In the tutorial he Dapper Dino Did not put in how to code start host and transfer to next scene. would someone help me how to do it? thank you very much!
@newnomadkids
@newnomadkids 11 ай бұрын
does anyone know how to make it have a leveling system where things are locked and you have to unlock them with coins or by getting xp i am new to unity and i would love some help with this.
@권정영-x1r
@권정영-x1r Жыл бұрын
Is it possible publish the game to the Unity website using webGL? I’ve been struggling since it keep shows the HTTP error message when I try it. It would be really helpful if somebody can help me. Thank you for the amazing video btw!!
@RicardoSurfMusic
@RicardoSurfMusic Жыл бұрын
what if we need to sync a string as a player name instead of id?
@ararashi8967
@ararashi8967 Жыл бұрын
Someone can help me ? , im trying to put my own characters , and to spawn them in the next scene , some tips to do it ? without crying cuz 79 code errors ?
@begnaf
@begnaf Жыл бұрын
Could you make video about spawn points?
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Spawn points will definitely be covered at some point when we make some "actual gameplay"
@ronwelch749
@ronwelch749 Жыл бұрын
The game I'm making requires a pool of say 6 player characters. Then when a player chooses one of these, then that character becomes unavailable to the other players. How I can implement this? Thanks. :)
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
I'll cover that in next week's tutorial when I add the ability to "lock in". So as soon as a character is locked in, no one else can lock in the same character
@ararashi8967
@ararashi8967 Жыл бұрын
Bro and what i need to do if i want to spawn the character ? im so stressed of trying it to function , can u give me an example of the spawn system in a different scene called Map1?
@ViktorTCG
@ViktorTCG Жыл бұрын
Hello, I would do a card game and I was thinking about to use this template to update the player's UI everytime when they draw and play a card, what do you think about it?
@jadeainsworth5937
@jadeainsworth5937 Жыл бұрын
im getting this weird issue where the first of the character selection buttons is being spawned, but non of it's values are being set: IE the character scriptable object it holds, or the CharacterSelectDisplay scene reference.
@jadeainsworth5937
@jadeainsworth5937 Жыл бұрын
nvm I got it: for any one else. After I instantiated the prefab, I was calling .SetCharacter() on the prefab its self, not the instance. thats why.
@mtarikan
@mtarikan Жыл бұрын
I followed all the steps carefully but I can't see my character buttons and I couldn't see CharacterSelectButton in your Hierarchy. Where they should be put?
@zach_stutsman
@zach_stutsman Жыл бұрын
Im having the same issue
@loganlane7833
@loganlane7833 Жыл бұрын
if you watched the intro video and you are missign something you need to instal a packages: services.lobby services.matchmaker services.multiplay services.relay
@rdnaidra7280
@rdnaidra7280 Жыл бұрын
I apologize if my word will hurt you, I can make the game after following this. I still don't understand what for what. It would be better if you show me the result for What I coded here. but Thank you for sharing
@littledemo3605
@littledemo3605 Жыл бұрын
please make something like this with fishnet
@ewaldschulte6529
@ewaldschulte6529 Жыл бұрын
Don't getg me wrong, I am thankful for your tutorials asnd your work, but the trouble setting up the project to start with (I'm not talking about the multiplayer template you mentioned - I created that, but that's just half of the story, since you completely chasnged the gameplay scene and just rushed through it in a few secs) is a really unnecessary downer :( I understand that you don't want to waste time with it - me neither, since that's not wshere the focus is here - but why not sharing the project at the beginning of this tutorial and one in its final state? So that we can simply start off together? It could be so easy....
@ewaldschulte6529
@ewaldschulte6529 Жыл бұрын
The Gameplay scene on GitHub looks totally different than what you are showing at the beginning so it's kind of useless for the start. It's a shame when such high quality content is "shadowed" by annoying drawbacks like this :(
@fuwafuwa-zy4yg
@fuwafuwa-zy4yg Жыл бұрын
Is there a reason for using -1 instead of null ?
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials Жыл бұрын
Since we're working with an integer which is a value type not a reference type, we can't use null. The standard way of having an invalid id is to default it to -1
@alkaline3mc
@alkaline3mc 11 ай бұрын
It really doesn't help that you setup all your UI stuff off camera. Because when you get to the end and need to be associating all those scripts with all those components there isn't a clear link that has been established regarding what subcomponents of what prefabs consist of.
Unity Character/Skin Selection Menu - Easy Unity Tutorial
13:31
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 127 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,4 МЛН
5 Things to Know w/ NGO - Unity Devs (Lobby Relay WebGL)
4:56
Jason Weimann (GameDev)
Рет қаралды 9 М.
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
How To Make A Game Alone
8:11
Thomas Brush
Рет қаралды 1,2 МЛН
Why Making Multiplayer Games SUCKS
6:46
Tom Weiland
Рет қаралды 432 М.
I Wish I Had Known This Before I Started Unity Game Development...
11:11
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 424 М.
I Decided to Speedrun a 9,600 Hour Long Game.
16:43
GeoSage
Рет қаралды 1,3 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 727 М.
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 127 МЛН