Basics Of Multiplayer In Godot 4!

  Рет қаралды 91,854

FinePointCGI

FinePointCGI

Күн бұрын

Subscribe and learn more from me about Game Development and Programming!
In this video, we discuss how to use Godot 4s New Multiplayer System!
Explore the exciting features of Godot 4's new multiplayer system in our latest tutorial! In 'Basics Of Multiplayer In Godot 4,' we break down the essential concepts and provide step-by-step guidance to create engaging multiplayer experiences in your game. Whether you're a beginner or an experienced developer, this video will equip you with the knowledge and skills needed to leverage Godot 4's innovative multiplayer functionalities. Dive in now to take your game development to the next level!
Links:
Starter Project: github.com/finepointcgi/Godot...
Finished Project: github.com/finepointcgi/Godot...
CyberPunkTileSet: chroma-dave.itch.io/neon-city...
Assult Rifle Tile Pack: cosmiconion.itch.io/modern-as...
File Zilla: filezilla-project.org/downloa...
Putty: www.putty.org/
Digital Ocean: m.do.co/c/4ca0a2e54d02
BE MY FRIEND:
🐦Add me on Twitter: / finepointcgi
Check out my Website: finepointcgi.io/
Have a Suggestion? github.com/finepointcgi/Finep...
You can support me on Patreon: / finepointcgi
Hang Out with the Guys on Discord: / discord
TIMESTAMPS
00:00:00 - Start
00:08:37 -Getting Into Godot
00:18:30 - Settign up Our Multiplayer Connection Screen
00:23:33 - How To Host Your Game
00:28:10 - How To Join Your Game
00:30:43 - What Is an RPC
00:31:13 - Starting Our Game
00:35:58 - Lets Talk About Transfering User Data
00:44:18 - How To Spawn Your Players
00:49:30 - Seperating Your Players So Each Player Controls There Own
00:50:05 - How To Use The Multiplayer Syncronizer
00:57:03 - Reducing Network Useage
01:00:50 - Something
01:07:53 - Doing a Dedicated Server
01:15:22 - Outro
MUSIC
Music provided by TheRelaxedMovement.
Check it out here: / therelaxedm...​
HASHTAGS:
#Godot4 #Multiplayer #gamedev
ABOUT MY CHANNEL:
I've been a software developer for over 7 years. I've worked in the game industry for 3 of those years. This channel is used for news on the gaming\programming industry and for tutorials for game\programming development.
Basics Of Multiplayer In Godot 4!
Keywords: Godot 4, Multiplayer, Game Development, Tutorial, Multiplayer System, Game Design, Networking, Godot Engine, Online Gaming, Game Programming, Indie Development, Game Creation, Network Programming, Real-time Multiplayer, Interactive Gaming

Пікірлер: 286
@FuGyz
@FuGyz 11 ай бұрын
Currently, multiplayer tutorials for Godot 4 are rare. Thank you so much for making one, helps to who needs it, like me. 😆
@KlausWulfenbach
@KlausWulfenbach 11 ай бұрын
It's because G4 Alpha changed so much from 3.x, Beta changed so much from Alpha, and then they even changed things from Beta to 4.x. I was actually trying to follow along with a few tutorials that did attempt to keep up with the changes, but in the end it was kind of pointless until everything finally stabilized. GDQuest even outright stated that they weren't even going to attempt making a multiplayer course until everything was good and stable and even then no promises.
@w花b
@w花b 5 ай бұрын
​@@KlausWulfenbachaww...
@DrPol1
@DrPol1 6 ай бұрын
If you haven't already, I would vote for a tutorial on matchmaking next. Thanks so much for your tutorials, they have been really helpful!
@rus6242
@rus6242 8 ай бұрын
You did what I was looking for and trying to do for a week in 1 hour. My respect, like and subscribe.
@ShiloBuff
@ShiloBuff 9 ай бұрын
This is one of the most complete multiplayer tutorials on Godot. I love that you explain hosting too. Great work!
@KlausWulfenbach
@KlausWulfenbach 11 ай бұрын
This is FANTASTIC👍 All the old multiplayer tutorials are completely obsolete now, so it's really helpful to have one for 4.x
@CraftedQuests
@CraftedQuests 6 ай бұрын
I really have to say, that this is just the pure definition of a tutorial :D It has everything you needs, shows how to do it, explains it in short and easy terms, and brings up a direction where to go from there. 12/10! I had a bit of a struggle with the spawning of the players though. Godot spawned my player as Player@5 on the host and Player@9 on the peer, which led to errors. So when I spawn the player nodes, I rename them to their player names. That solved it. Also I removed my player Camera, and only add it, when the player node has my mp id. It is so cool how easy this is. I tried implementing multiplayer in Unity once. After weeks I kinda gave up. In Godot? Especially with the multiplayer Synchronizer? Its just awesome! Thank you FinePointCGI for this on point explanation :)
@OverStyle
@OverStyle 11 ай бұрын
I was just looking for resources on Multiplayer in Godot 4 yesterday! Thank you for creating advanced Godot tutorials
@meezi2987
@meezi2987 11 ай бұрын
It's great that you made such a nice multiplayer tutorial for Godot 4 :)
@zacharystefanich
@zacharystefanich 4 ай бұрын
3 minutes into the video and this is the best godot tutorial I've ever seen. I'm not even to the stuff I wanted to learn about yet, and I'm subscribing
@fatihzirek7440
@fatihzirek7440 7 ай бұрын
Really thanks because high quality multiplayer tutorials are really rare in Godot4.
@hw2007
@hw2007 8 ай бұрын
Gonna watch this and follow along later. Thank you for making an in-depth tutorial. All the other ones were like 15 minutes long, and I knew there was no way they could actually explain everything in that time.
@OgGhostJelly
@OgGhostJelly 9 ай бұрын
Insanely useful, I genuinely wouldn't have been able to do multiplayer without this.
@NexusBaum
@NexusBaum 10 ай бұрын
Hi! I came from Unity. This is very helpful, thanks! You've got a new subscriber. :)
@treeadam5298
@treeadam5298 Ай бұрын
Im a little new to godot and i managed to go through this tutorial so easily. Great job man!
@FinePointCGI
@FinePointCGI Ай бұрын
I'm glad it worked for you!
@CaptainCarrotzz
@CaptainCarrotzz 3 ай бұрын
I like that you show your errors and how to fix them. I think that'll help people just starting out get a knack for coding. Great video!
@Peter-wl5xm
@Peter-wl5xm 8 ай бұрын
I'm really grateful for your multiplayer content and content in general. Thank you and happy holidays.
@NateHeroic
@NateHeroic 11 ай бұрын
I'm definitely interested in a match making tutorial. Great video!
@domedevep
@domedevep 10 ай бұрын
Incredible, thank you for this!
@RealPigeonz
@RealPigeonz 11 ай бұрын
Great tut! Waiting for next about multiplayers! 😊
@soganox
@soganox 5 ай бұрын
Very good tutorial! Thank you for the in-depth coverage.
@mrgreensuit7379
@mrgreensuit7379 4 ай бұрын
This is the best multiplayer tutorial on KZbin!
@Lion4de
@Lion4de 5 ай бұрын
This was amazing, thanks for such an in-depth look at this
@lusunguchansa5586
@lusunguchansa5586 9 ай бұрын
thank you took me days trying to find a multiplayer tutorial that worked thanks
@erickgutierrez4455
@erickgutierrez4455 16 күн бұрын
This video helped me so much! Thank you!
@simplexeon
@simplexeon 9 ай бұрын
Wow, this is so much easier than it was in Godot 3.5. Definitely going to give it a shot, although I'll probably ignore the multiplayer sync node in favor of sending timed inputs and recalculating positions locally so the lag isn't as much of an issue.
@FinePointCGI
@FinePointCGI 9 ай бұрын
That's probably a better play.. The synchronization node is really cool but it definitely is in its infancy..
@twosoulfox
@twosoulfox 7 ай бұрын
You make so many great videos. Really need to take off some time on the weekends.
@matheusbuzatti9161
@matheusbuzatti9161 11 ай бұрын
Thanks. We need more multiplayer tutorials
@idle.observer
@idle.observer 8 ай бұрын
Hell yeah, I thought it would be hard to make a multiplayer in Godot, but seems like not that difficult. Thank you for the tutorial, Sir!
@mintydog06
@mintydog06 2 ай бұрын
Thanks for the great tutorial! It's much appreciated. Bonus points for your Canary joining in at the end there. 1 hour into it, looks like there's a mistake. You set syncRot to rotation_degrees which is the rotation of the player, not the gun rotation, also you never turned off the synchroniser for the gun rotation. I also don't understand why my lerp syncPos is smooth but yours is.
@fenrew
@fenrew 4 ай бұрын
This was a really well put together tutorial!!
@dougsaylor6442
@dougsaylor6442 7 ай бұрын
This was an absolutely wonderful introduction, and you got me *much* further than I would have got on my own. I'm really curious if there's a way to create a generic dedicated server proxy using Godot's RPC/MultiplayerSynchronizer protocol(s). I'm sure the *real* server side would still need to be a Godot export, but having a proxy in place would allow for on-demand backend initialization, and also server policy stuff like cheat prevention, IP allow/block listing, etc. without having to add that into every game server's code. Some of the "solution around the solution" type stuff. If you know of something similar and/or have some thoughts on this, I'd be really interested to hear about it.
@salad1963
@salad1963 8 ай бұрын
Awesome video man! Liked and subbed
@hawkgamedev
@hawkgamedev 11 ай бұрын
what a legend! thanks for this video!
@felineentity
@felineentity 10 ай бұрын
Small correction: 32 is not the max amount of players you can have in your network game. The theoretical max is 4095, but practically it's probably lower than that (due to bandwidth limitations).
@FinePointCGI
@FinePointCGI 10 ай бұрын
Yeah I correct that in my c# version I don't know what I was thinking..
@lifelife3061
@lifelife3061 8 ай бұрын
So you can't make a mmorp in Godot 4?
@0815avenger
@0815avenger 8 ай бұрын
@@lifelife3061 not sure about the networking layer presented in the video, but of course you can always do your own networking (and can build an mmorpg in Godot).
@hanelyp1
@hanelyp1 8 ай бұрын
@@lifelife3061 An MMORPG is typically structured into zones and instances, limiting the number of players and NPCs that have to interact closely with each other. Anything not in the current zone and instance is out of sight and mind. Also enabling the larger game to be divided among multiple servers.
@StephenFosterUK
@StephenFosterUK Ай бұрын
👏👏 Great tutorial.. Very clear and generous with your time and talent.. much appreciated
@KozelPraiseGOELRO
@KozelPraiseGOELRO 4 ай бұрын
Big thanks, it was way easier with your help. I would also recommend linking the player node with the player id, so directly the disconnect func can erase the player node instead, without the 'for i in players' structure. Also also, the disconnect function could take you to another screen if the disconnected player is the host, just by 'if id = 1'.
@dippinpahwa
@dippinpahwa 11 ай бұрын
Thank you for this awesome tutorial, i was looking at your multiplayer project using nakama but that was built on godot 3. Can you please make a dedicated tutorial on matchmaking/sending or receiving messages?.
@FinePointCGI
@FinePointCGI 11 ай бұрын
Yes! Nakama is going to be updated as well as doing our own match making system!
@shmolyneaux
@shmolyneaux 9 ай бұрын
Wow, this was a fantastic introduction to Godot networking. Special thanks to Editor Mitch who included bullet spawning :)
@FinePointCGI
@FinePointCGI 9 ай бұрын
Ill let him know though I dont want him to get a big head...
@psyantologist
@psyantologist 7 ай бұрын
Awesome tutorial :) thank you! I imagine lerping to save bandwith causes hit registration issues (unless clients have authority over making hits instead of the server making that decision for them - and then it might just shift the frustration from "why can't i hit him?" to "how in the world did he hit me?") in case you would like to elaborate on this particular zoo of problems, I would watch that video too! subscribed :)
@Xeymen55
@Xeymen55 10 ай бұрын
Thanks for the tutorial, great explanation and example.
@rotmohawk2115
@rotmohawk2115 8 ай бұрын
Great tutorial. Good pacing.
@bandannaman510
@bandannaman510 7 ай бұрын
I'm working my way through this tutorial for my own game! It's been amazing to soak up all the knowledge you have accumulated here - Thank you so much! I'm running into snags trying to implement this on MacOS - specifically the terminal acting as the server bit. Would you be able to add information on that?
@bandannaman510
@bandannaman510 7 ай бұрын
Actually, I was able to get it working!! I used 'open [app name].app --args --server' and it worked like a charm!
@johnmerriam7844
@johnmerriam7844 5 ай бұрын
This guy is a genius keep up the good work man you are helping us so much
@will7466
@will7466 11 ай бұрын
Yes more multiplayer videos please
@Kptkrunch_
@Kptkrunch_ 10 ай бұрын
This is an awesome video and a great starting point. I did run into an issue with controller support where everything is synced when using kb and mouse, but when using controller it moves all players. I'm sure I can't be the only one who's run into this, so maybe it could be a good thing to comment on.
@youranonymousyoutuber4051
@youranonymousyoutuber4051 11 ай бұрын
thanks so much man i subbed and liked the vid
@johndupl
@johndupl Ай бұрын
Thank you for this.
@TonindeJardin
@TonindeJardin 9 ай бұрын
That is awesome tutorial ! Do you have by any chance a cheat sheet / quick reference sheet that summarize all this stuff ?
@adparker
@adparker 7 ай бұрын
00:02:20 - For the main character sprite sheet, leaving the offset a 0, 0 px worked for me.
@novantechstudio
@novantechstudio 9 ай бұрын
If anyone is having issues with this in 4.1.1, they seem to have changed the way things are named. I had to add an Id variable to my player and use that to set the multiplayer authority.
@TheDestroyer702
@TheDestroyer702 6 ай бұрын
I'm currently dealing with that. When I print each unique ID, they're the same
@JB-kn7ig
@JB-kn7ig 4 ай бұрын
Hey man, if you had a big map with many players who wouldn't be able to see each other because of their distance.. Is there any example projects you know of that would have the server be checking positions, and determining if & who to send the relevant position data to, for example nearby players. Thanks a lot for the video, I'm definitely going to go through it and play around. Looks really cool being able to test it on your own pc too :) Thanks again
@Alljoker2
@Alljoker2 11 ай бұрын
Tutorials like these are gems for people hungry to learn❤ I am curious about the upsides on WebRTC for networking/multiplayer. Would you be able to do a video like this one about WebRTC servers?
@FinePointCGI
@FinePointCGI 11 ай бұрын
Yes im researching that one now... Its been difficult because Godot doesnt handle much so you have to do alot of signaling and packet handling to get it all working..
@Alljoker2
@Alljoker2 11 ай бұрын
@@FinePointCGI Hey no rush or pressure. When learning is forced, it becomes less fun and harder to teach
@johnjohnson3232
@johnjohnson3232 9 ай бұрын
Amazing tutorial! Really breaks down the concepts, and I've got it mostly working on my end! However, I'm having an issue where the "joiner" is able to manipulate its player as intended, but the host can't manipulate either player. I'm going insane trying to find what I did wrong, as I'm almost certain I replicated what you did to a tee!
@johnjohnson3232
@johnjohnson3232 9 ай бұрын
I found that for some reason, the host player's name becomes something like "@Sprite2D@7" instead of "1". I fixed it by hardcoding a check to set the multiplayer authority to 1 if the name starts with an "@", but i'd like to understand why this is happening in the first place? I've tried with 3 instances, and everyone but the host gets an actual numerical name.
@cullencanejo7731
@cullencanejo7731 9 ай бұрын
@@johnjohnson3232 I had this issue as well it took me some time to troubleshoot. but my issue was I named something in the seem with 1. My spawn points were "1", "2" so after I changed it to "Spawn1" the issue was fixed.
@dappercthulhu4386
@dappercthulhu4386 9 ай бұрын
Thanks for saying how you fixed it. I had the same issue. I wonder what we did that caused it to be different from this tutorial? But I got it working exactly how you did. For now its a solution that works
@hinakentenshi5476
@hinakentenshi5476 5 ай бұрын
@@Catastrphic It may be late, but I figured it out : He created a Node2D named SpawnLocations in which he placed 0 and 1, which would not cause trouble with newly instantiated childs. At least, that's what it was for me
@jacksanimations2827
@jacksanimations2827 6 ай бұрын
dude this is flubberknucking amazing
@oddesteagle
@oddesteagle 11 ай бұрын
Really Cool video, can you make a video on the steam multiplayer,because there arent many videos in this topic
@FinePointCGI
@FinePointCGI 11 ай бұрын
I already do for c# but I do have it on the list for GD
@FuGyz
@FuGyz 11 ай бұрын
Can agree that we need a Steam Multiplayer tutorial. 👍
@FuGyz
@FuGyz 11 ай бұрын
Please make more tutorials about multiplayer! Like how to spectate players, when dead for example, how to do a text chat or even voice chat, how to do matchmaking, how to send and receive .save files from players, how to setup a ready up, or how to setup a game party, etc...
@FuGyz
@FuGyz 11 ай бұрын
Also, please show us how to make teams using this peer to peer multiplayer.
@beton3035
@beton3035 6 ай бұрын
Very nice tutorial!
@Caracuan12
@Caracuan12 6 ай бұрын
So useful, thanks a lot
@tedmosby1235
@tedmosby1235 5 ай бұрын
Damn good tutorial ! Thanks
@Andrew-ic8tx
@Andrew-ic8tx 7 ай бұрын
You are a boss. Love your videos.
@dorara01
@dorara01 8 ай бұрын
Thank you so muck ! really help me a lot
@clecioespindolagamedev
@clecioespindolagamedev 11 ай бұрын
Hi... I am Godot contente creator, and just was recommended by a sub about your content about multiplayer in Godot. I was studying the documentation to learn more as well to teach people gere in Brazil. My question is, can I use the base of your content, not copying but using It as a reference, and of course crediting your channel in a future vídeo about MP in Godot?
@GameGW935
@GameGW935 5 ай бұрын
Fantastic video!
@om-rane
@om-rane 9 ай бұрын
Excellent video, it covered a lot of application of concepts! I would love to see more videos explaining the individual concepts themselves, like what is RCP exactly? How does MultiplayerSynchronizer work? Is there any alternative way? How to do P2P? etcc
@FinePointCGI
@FinePointCGI 8 ай бұрын
I can do that! Ill add that to my list github.com/finepointcgi/FinepointCGI-Suggestions/issues/61
@om-rane
@om-rane 8 ай бұрын
I appreciate you noting it down! Looking forward to learning more :D@@FinePointCGI
@Kukatoo
@Kukatoo 10 ай бұрын
great tutorial!
@ajwizkid
@ajwizkid 4 ай бұрын
Great tutorial! I had a conceptual question - why do we need to send the player information to each client? Is it not possible to just sync the singleton using the multiplayer synchronizer? Also, if you ever consider doing a follow up to this, would love to see an implementation for a 2 player turn-by-turn game like a card game
@FinePointCGI
@FinePointCGI 4 ай бұрын
You could but thats going to do the same thing pretty much. I just do it manually here because I prefer to have more control of when things get synced.
@ajwizkid
@ajwizkid 4 ай бұрын
@@FinePointCGI thanks for the reply!
@jeanicezinho
@jeanicezinho 2 ай бұрын
muito bom amigo, obrigado por compartilhar seu conhecimento!
@rumariomusic
@rumariomusic 11 ай бұрын
Very great tutorial. For multiplayer I miss a Voip tutorial for Godot 4. That would be great. I wanted to do a test with you server, but I think it is down!?
@FinePointCGI
@FinePointCGI 11 ай бұрын
I do have that on my list! I also am not sure whats going on with my server ive been looking at it for the last little while. You could try now it may work... I think it how im running the code
@savire.ergheiz
@savire.ergheiz 9 ай бұрын
Is there a way to monitor the total bw usages? I mean we need to know how many players are being able to be hosted within a server in cloud so that we can scale as neccessary if its for example a mmorpg kind
@RhogerAnacleto
@RhogerAnacleto 8 ай бұрын
Awesome tutorial! Good job! I want to ask you what is the real purpose of the syncPos and syncRot? I didn't actually get what they are for, what are the advantages to using it instead of using the position and rotation directly?
@wiktorp.9259
@wiktorp.9259 6 ай бұрын
If i understand it correctly, these variables are used as a "target" Position and Rotation. In a multiplayer game, when you move, the information about this haven't been transmitted as smoothly as in singleplayer scenario. In this case the connected player would move in a jittery manner (or at least copy of him being seen by connected players). To fix this issue we can create a variable that holds the target position (syncPos), which will be transmitted to server. Then, the server will do an interpolation between current position and syncPos to make this jiterriness appear smooth. This is why lagging players zoom around the map instead of teleporting, making them somewhat easier to hit. Basically in a code region that activates only on user you assign `syncPos = global_position` use `move_and_slide()`. In a code region that activates on server you use `global_position = global_position.lerp(syncPos, .5)` Instead of `position`, only the `syncPos` is being synchronized. If you want to check the effect of using such system, increase replication_interval value of Multiplayer Synchronizer, and check how moving player behaves with or without that syncPos
@RhogerAnacleto
@RhogerAnacleto 6 ай бұрын
@@wiktorp.9259Thanks Mate! I think I understood much better after your explanation. I also played a little while over this and makes all sense to use this strategy.
@eagle4226
@eagle4226 5 ай бұрын
thank you you absolute legend
@Thomason1005
@Thomason1005 Ай бұрын
at 1:10:55 you put it to 0.0.0.0, but that variable is only used in the join_button-function? i do not follow how this has an effect, but i am wondering since i have the issue of not beeing able to connect to outside my local network
@danialazwar5375
@danialazwar5375 10 ай бұрын
A great video, btw I'm not sure how to update sprite animations for each player to the server. Any help would be great.
@FinePointCGI
@FinePointCGI 10 ай бұрын
You dont you would do that on the client side. The client should handle all of that what id do is just pass a state parameter around that allows you to change the sprites eg if player is running do the running sprite.
@Lab1401
@Lab1401 11 ай бұрын
amazing 🤩💫✨🎉🎊
@flintspike307
@flintspike307 7 ай бұрын
I went ahead and set the the Address variable to be a new lineedit box, and then had a new line in the on_join_pressed for setting the address variable to be the entered IP address but it doesn't seem to work over WAN and I cant seem to figure out what the issue would be. If anyone has had a similar issue or knows what could be causing it, please let me know!
@prismajane
@prismajane 6 ай бұрын
This worked like a charm. I managed to get it to work with friends over the network. Is there a method that allows for players to join in the middle of a session with this set up?
@FinePointCGI
@FinePointCGI 6 ай бұрын
Not going to lie that part is pure pain! I was discussing with someone about this and more or less its doable though you need to change how ew handle the players spawning quite a bit. how it works right now get all the players spawn players sync code and youd have to change it get new player tell new player to spawn other players spawn that player tell everyone they can now sync again.
@bongo6_462
@bongo6_462 4 ай бұрын
YOU FIXED MY BULLET NOT SYNCING THANK YO USOOOO MUCH MAN
@saangosu
@saangosu 11 күн бұрын
Hii! I'm big n00b on multiplayer stuff, and I need to learn for work. My boss told me to study Nakama after starting following this one, and I saw you had another tutorial for Godot with Nakama. I wanted to know if stuff from here also applied to Nakama. I watched until minute 44:18.
@Super_Top_Secret_Area
@Super_Top_Secret_Area 9 ай бұрын
Thank you for making this tutorial, it helped me a lot. I still have a few errors, but it must be because I moved something around. I will be rewatching to see what I may have done wrong. By the way, could you please consider expanding on this tutorial to include a character select screen? Something like picking different characters (each having their own scene, I suppose?). I haven't found any Godot 4 tutorials covering how multiplayer affects character selection, so it would be very useful.
@user-ws9ys4jd8t
@user-ws9ys4jd8t 5 ай бұрын
Thank you tutorial, let me learn a lot! But I have another problem without solution: When I Disconnected, how do I synchronize the data when I reconnect? In other words, PEER_ID = 1 players enter the game in advance, I joined halfway, how should I synchronize the server's game data so that the scenes of our two are synchronized.
@vikas_room
@vikas_room 2 ай бұрын
ive been struggling with this for a bit since i looked at this tutorial: currently, a host has to wait for everyone necessary to have hit the "join" button before hitting "start", at which point everyone will have the game scene instanced in however, i want to allow for players to trickle in at their own pace by clicking "start" whenever theyre ready. the way everything's currently set up doesn't allow for this--clicking "start" after a game scene has been instanced instances a second game scene and duplicates one of the players. basically, is there any way to make it so that players can start the game independently of each other without instancing a duplicate game scene? any help will be appreciated.
@cycomkid
@cycomkid 11 ай бұрын
Thanks bro
@bongo6_462
@bongo6_462 4 ай бұрын
You are a god amongst men
@user-ur5pj9ln8l
@user-ur5pj9ln8l 5 ай бұрын
looked up port 8910 just for fun and it was used for an old Trojan back in 2007 lol
@jlebrech
@jlebrech 11 ай бұрын
could you do an update for MultiplayerSynchronizer visibility?
@nezqwe4818
@nezqwe4818 5 ай бұрын
Id love to see multiplayer lobby tutorial
@SHELLY_STARS2209
@SHELLY_STARS2209 11 ай бұрын
Hi can you do custom build project in 4.1😢 please i couldnt do It i am very angry this custom build and admob
@user-zb6nc9oc4x
@user-zb6nc9oc4x 8 ай бұрын
Thank you so much for the tutorial! It's really helped me with my school project! However, I am struggling to create AI enemies for my multiplayer game...... Hope I can figure it out soon😞
@FinePointCGI
@FinePointCGI 8 ай бұрын
Good luck it really depends on what you're trying to make.
@BreadSauce4
@BreadSauce4 9 ай бұрын
This is an amazing tutorial! Just wondering, how do I make the different players see out of different cameras? In my current project, the different screens move different players, but both see out of one camera. If you know, please tell me. Thanks!
@NimbusCloudGG
@NimbusCloudGG 7 ай бұрын
Having this same issue rn
@NimbusCloudGG
@NimbusCloudGG 7 ай бұрын
Figured it out. In the player script, under your ready function, you need to set the camera to the Multiplayer authority. Something like: camera.current = is_multiplayer_authority()
@alt0248
@alt0248 8 ай бұрын
Having a small issue at 40:40. My host will store its player info in the game manager but when the other players connect they don't receive any of the other player's from the host's game manager. Where would the issue be coming from? Edit: I had accidently added an ID variable to the connect_to_server and connection_failed functions. This broke the connection to the multiplayer signals but it didn't stop the game from running.
@flintspike307
@flintspike307 7 ай бұрын
This comment saved me too. Thank you so much for taking the time to edit and update your comment instead of just deleting this. I feel so silly now. THANK YOU.
@smashoverkill
@smashoverkill 6 ай бұрын
saved me too, thanks!
@buffmcpump6033
@buffmcpump6033 5 ай бұрын
Yet another save! Thank you for this!
@h3wkeye472
@h3wkeye472 8 ай бұрын
Amazing video! I just dont understand how the peer_connected and disconnected function gets the player id, because you did not give argument when you call them with the connect function. Or its just a built in godot stuff which i simply dont know about?
@mannig.faltigkeit2341
@mannig.faltigkeit2341 7 ай бұрын
The event he is adding this to with "+=" contains the parameter. This is provided by the multiplayer api.
@D0cez
@D0cez 3 ай бұрын
Hello, i do all what in this guide and have a problem, in dictionary when game write names and id's of player i had nothing, in what can be problem??
@user-wi5on6ks1v
@user-wi5on6ks1v 10 ай бұрын
thx you !
@SumitKumar-kr4wz
@SumitKumar-kr4wz 6 ай бұрын
When is the next video coming about the web Rtc ?
@jamessweet6962
@jamessweet6962 6 ай бұрын
This is a great tutorial, how would this change if I were to have a coop game where each playable character has a different set of abilities?
@FinePointCGI
@FinePointCGI 6 ай бұрын
I woudl pass in the abilities in on character creation. I would also abstract the abilities to all use one function to use that ability eg ability one has useAbility() ability two has useAbility() ability three has useAbility() when the user wants to use the ability id just call ability.useAbility() that way it works for any and all abilities then when the play joins and they choose there abilities id pass that into there player information and send it along with the data player one has abiltiy 1 and 3 player two who just joined has ability 2 and 3 That way its flexable and easy to use!
@Rikikiz
@Rikikiz 4 ай бұрын
The lower the FPS gets, the faster we go, any insight on how to fix that? I did put all the movements in physics process.
@barrelofbugs
@barrelofbugs 6 ай бұрын
Thanks!
@FinePointCGI
@FinePointCGI 6 ай бұрын
Hey thanks! I appreciate the tip!
@Zenoxio
@Zenoxio 7 ай бұрын
As far as I can tell, the sprites did not end up animated? Even in the demo download
@Sharmiyt_
@Sharmiyt_ 4 ай бұрын
59:24 how to update player health ? I use body.receive_dmage.RPC_id(authorityid()),but the body.healt
@bertangokalp9002
@bertangokalp9002 11 ай бұрын
I have MultiplayerSynchronizer node not found issue
Basics of Multiplayer in Godot 4! C# Godot Basics!
1:42:46
FinePointCGI
Рет қаралды 14 М.
How to Choose Your Multiplayer Backend
27:56
Battery Acid Dev
Рет қаралды 13 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 3,6 МЛН
I Melted Wood With Friction
8:44
The Action Lab
Рет қаралды 605 М.
Why Making Multiplayer Games SUCKS
6:46
Tom Weiland
Рет қаралды 412 М.
Best FREE Software for Game Development in (2024)
8:01
anyDev
Рет қаралды 33 М.
I Made Multiplayer Gamedev EASY!
9:51
DaFluffyPotato
Рет қаралды 40 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 3,9 МЛН
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
DevLogLogan
Рет қаралды 492 М.
10+2 AWESOME ADDONS for GODOT 4
8:36
MrElipteach
Рет қаралды 131 М.
The Future of Game Development
8:58
Brackeys
Рет қаралды 1,2 МЛН
The Best New Features Coming in Godot 4.3
11:40
Gamefromscratch
Рет қаралды 49 М.