How To Make a Ready Up System - Steam Multiplayer Game in Unity

  Рет қаралды 15,777

Zyger

Zyger

Күн бұрын

In this video I will be showing you how to implement readying up. This tutorial will cover how to make a readying up system and how to sync this across networks. I will also go over how to check if everyone is ready and if that is the case allow the host to start the game.
-----Tutorial Links-----
Previous Video: • How To Display Profile...
Mirror: assetstore.unity.com/packages...
FizzySteamworks: github.com/Chykary/FizzySteam...
Steam Docs: partner.steamgames.com/doc/home
Source Code: / 61625448
-----My Personal Links-----
Discord: / discord
Instagram: / gabzxd
Twitch: / officialzyger
Twitter: / zygerdesigns
➤WISHLIST MY GAME:
store.steampowered.com/app/16...
----Time Stamps-----
0:00 - Intro
0:13 - Lobby List Item Script
1:28 - Player Object Script
3:48 - Lobby Manager Script
6:50 - Unity UI Setup
7:18 - Testing

Пікірлер: 58
@TripalYT
@TripalYT 2 жыл бұрын
I'm loving these, they're so precise and straight to the point. Thanks so much Zyger!
@Superspy1764
@Superspy1764 2 жыл бұрын
Thank you so much for this you explain it so well and make multiplayer seem simple.
@lukakvlogs1478
@lukakvlogs1478 2 жыл бұрын
Thank you so much for these tutorials!! Im in desperate need of part 4!!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
You're so welcome!
@thoride_
@thoride_ 2 жыл бұрын
Love these tutorials, super handy to help me learn how to do some multiplayer. Can't wait to learn how to make actual game elements using this system!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Glad you like them!
@SlavicPickle
@SlavicPickle 2 жыл бұрын
You are literally the best, Zyger! You make Unity networking not so terrifying! Thank you!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
thank you too and no problem
@noairdnb
@noairdnb 2 жыл бұрын
love this series, keep it up!
@ushadevisoni7792
@ushadevisoni7792 2 жыл бұрын
That was amazing thanks!!!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
thank you and np
@NeoLoveCookie
@NeoLoveCookie 2 жыл бұрын
You're a genius
@channeltrash6257
@channeltrash6257 2 жыл бұрын
Hi Zyger! I really like your videos and you are insanse. Would you like to make longer videos whee you explain steameorks basics? It would be very helpful and we would appreciate it
@ooheureka
@ooheureka 2 жыл бұрын
first:) nice vid too!
@hammyham
@hammyham 8 ай бұрын
I know im late to this but i have a question. when the host closes the game the clients will be disbanded like it should but when a client tries making a server the button doesnt do anything. How can i fix this?
@pvtrickkirk
@pvtrickkirk Жыл бұрын
So i got it working and tested it with my friend. Only issue is, if he presses and then unready again, the "start game" button doesn't become uninteractable again. Any ideas how to resolve this?
@coolorphans
@coolorphans Жыл бұрын
If anyone is having the error: "Disconnecting connId=0 to prevent exploits from an Exception in MessageHandler: NullReferenceException Object reference not set to an instance of an object." Make sure to set localPlayerController to the PlayerObjectController prefab in LobbyController script inside the Lobby Controller game object in the Lobby Scene.
@azazel7502
@azazel7502 9 ай бұрын
You helped a lot! Thank you so much sir!!!!
@hallsofvallhalla
@hallsofvallhalla Сағат бұрын
if anyone has issues with hasAuthority not working it is isOwned now
@Khaled_khalil
@Khaled_khalil 2 жыл бұрын
EPIC
@luki6380
@luki6380 Жыл бұрын
error CS0106: The modifier 'public' is not valid for this item ---- I write everything like you and this error shows.
@rabiehaddad1925
@rabiehaddad1925 Жыл бұрын
I have already convert my third person shooter to multiplayer and i am searching for a lobby system is yours working in my case
@schurup2994
@schurup2994 Жыл бұрын
Bro you are so fast that I can't even keep up x0.75 💀
@dkdnshdhhd9927
@dkdnshdhhd9927 2 жыл бұрын
Can you add lerning how make shoot in unity 3d
@fazin85
@fazin85 Жыл бұрын
👍
@Rhys510
@Rhys510 Жыл бұрын
My ready up button doesn't work, stuck saying ready... Not sure if anyone else has the solution?
@Rhys510
@Rhys510 Жыл бұрын
Solution Found. You need to have a EventSystem in your hierarchy for buttons to be interactable.
@lukakvlogs1478
@lukakvlogs1478 2 жыл бұрын
Should there not be a way to leave the lobby? Ive been trying to figure out a good way to do it but I cant figure it out:(
@ZygerGFX
@ZygerGFX 2 жыл бұрын
There are methods. I'd recommend using the normal mirror way to leave lobbies. I'm pretty sure there's documentation about it on mirror. But at some point I might add it in a tutorial. Maybe like an extra things tutorial.
@GosoeGoose
@GosoeGoose 6 ай бұрын
@@ZygerGFX Was there a tutorial made for this Iv'e been struggling to do it myself
@GosoeGoose
@GosoeGoose 6 ай бұрын
Did you have any luck in finding a way to leave the lobby
@thegreatandpowerfuldc5977
@thegreatandpowerfuldc5977 3 ай бұрын
Seems like a pretty easy and quick process. So why did it take PAYDAY 3 five months to implement this?
@trublgame2470
@trublgame2470 2 жыл бұрын
It doesn´t work, i dont know if it´s because the codes have changed or what, but it doesn´t work
@XboxPlayerPL
@XboxPlayerPL 2 жыл бұрын
How about an option with the late joiners?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
what do you mean ? could you elaborate?
@XboxPlayerPL
@XboxPlayerPL 2 жыл бұрын
@@ZygerGFX Quote from the Mirror's doc: "Note that Mirror's Room system is not designed to allow late joiners / spectators once the game has started." mirror-networking.gitbook.io/docs/examples/room
@XboxPlayerPL
@XboxPlayerPL 2 жыл бұрын
It means that after the game started, other players can't join the game. That's the problem. I talked to people in Mirror and they told me to use Multiple Additive Scenes if I want this feature. But I don't understand how to implement this. It's not well documented. Maybe you would be interested in covering this topic?
@XboxPlayerPL
@XboxPlayerPL 2 жыл бұрын
There is literally 0 information on that on KZfaq.
@ZygerGFX
@ZygerGFX 2 жыл бұрын
@@XboxPlayerPL I've personally not explored the topic myself. but I've made a game before that will start and users can join just fine even if they weren't in the lobby prior. only issue is that the lobby is what generates the players and gives them all the steam data. So unfortunately if your planning on using steam stuff like I am here this wont be possible. But mirror on itself should be fine.
@nixonrulez
@nixonrulez 13 күн бұрын
***** hasAuthority should be isOwned for the people with newer version of Mirror *****
@wildwookiee9559
@wildwookiee9559 3 күн бұрын
thank you bro
@Dara-gq6jl
@Dara-gq6jl 2 жыл бұрын
5:52 just for my sake
@jalzinanutshell1822
@jalzinanutshell1822 2 жыл бұрын
Wait do i need to upload it on steam to do it?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
watch the firstly video where i go over how to test the game. eventually you will want to publish on steam though right ? since thats how others will be able to play your game.
@derluftiger
@derluftiger 2 жыл бұрын
no
@fanyiid4781
@fanyiid4781 2 жыл бұрын
My from Indonesia, pliss exsemple unity Dialoge + image to game visual novel
@ZygerGFX
@ZygerGFX 2 жыл бұрын
I already habe a tutorial on this. You can check my channel its a dialogue video
@Duxkd
@Duxkd 3 ай бұрын
The name 'hasAuthority' does not exist in the current context
@petkostankov3780
@petkostankov3780 2 ай бұрын
Change it to "isOwned". It used to be hasAuthority, but it has been changed.
@greennlvr
@greennlvr 2 ай бұрын
@@petkostankov3780 Thanks!
@Chrizzonator
@Chrizzonator Жыл бұрын
So I don't know what I'm doing wrong, but I have to LobbyController.instance.updatePlayerList(); Always set in the PlayerObjectController and not only on the client, otherwise it doesn't work for me. The value is set correctly but the gui does not update when I do not execute this.
@JacksonAcademy1
@JacksonAcademy1 2 жыл бұрын
female brackeys
@LynJuice
@LynJuice Жыл бұрын
These tutorials are cool, but comming from a C++ background some things you are doing just annoys me, for example the check if All ready function could be made to a bool function and handled in update button.
@ZygerGFX
@ZygerGFX Жыл бұрын
yes that's true but there's a few reasons why I didn't do that. Firstly this is mainly a tutorial for beginners so I tries to make it as simple as possible. Secondly by doing that I would have to change the system in which I am sending the data to all clients /server which once again not an issue but it makes it harder for people to follow. Also if I were to make my own multiplayer game I would definitely change a lot of things. thanks for the suggestion though.
I Paid Game Developers on Fiverr to Make Minecraft
11:13
BadGameDev
Рет қаралды 1,7 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 10 МЛН
1 класс vs 11 класс (неаккуратность)
01:00
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 15 МЛН
He tried to save his parking spot, instant karma
00:28
Zach King
Рет қаралды 20 МЛН
How NOT to make an indie game
22:01
Lychee Game Labs
Рет қаралды 1,9 МЛН
Why Making Multiplayer Games SUCKS
6:46
Tom Weiland
Рет қаралды 393 М.
How To Connect Using Steam - Unity Multiplayer Tutorial
21:44
Dapper Dino
Рет қаралды 90 М.
How to make a good platforming character (Developing 6)
14:50
Game Maker's Toolkit
Рет қаралды 410 М.
How to MAKE YOUR GAME LOOK GOOD!
13:02
Brackeys
Рет қаралды 584 М.
How I Made $6,249 from Gamedev as a Teenager
9:52
DaFluffyPotato
Рет қаралды 185 М.
Месть сапсана
0:55
Timminator
Рет қаралды 1,7 МЛН
Озвучка @patrickzeinali  Тюремная еда  Часть 2 @ChefRush
0:52
BigXep. Канал озвучки
Рет қаралды 921 М.
Funny kid and Dad #shorts #funny #viral #comedy #youtubeshorts
0:15
mountainlion5
Рет қаралды 89 МЛН