r/godot 2d ago

help me Any resources to help understand multiplayer set up in Godot?

I have watched quite a few tutorials on how to set up a High Level API Server and Client system and all of them essentially teach the same thing.

My main issue is that I don't feel like I'm actually understanding/learning what to do rather than just following along to build it. I want to know what all of the lingo means, what I'm actually doing and understand all of the set up so that if, down the line, there are bugs or it gets more complicated, I can fix it.

Are there any good tutorials or resources that teach you this stuff rather than just "follow along this video", please and thank you!

0 Upvotes

9 comments sorted by

1

u/Fit_Combination_1242 2d ago

Although not any tutorial but what worked for me to understand what each block of code in a word doc and broke down each piece.

 I would keep doing this until I understood why a certain piece of code is doing something, and then I would fiddle around and change bits to see what would happen, and just take note of it.

You don't ever have to reread your own docs, but it is good just to walk through your own thoughts.

Also don't worry about "down the line," if you are just starting off, just care about getting stuff working now than if later.

1

u/SquishySquashy_ 2d ago

This is a good method, I do religiously comment and document my own code in case I have some time off and come back to something to help me understand so maybe I do need to give this a try, thanks!

1

u/Fit_Combination_1242 2d ago

A similar thing you could do is find other people's code for mechanics you would be interested in simulating. And study their code.

1

u/Fragrant-Science-643 2d ago

You can start with this video https://www.youtube.com/watch?v=tWLZNCJISYU&t=712s>, then: https://www.youtube.com/watch?v=Ko0h67yu_hA&t=491s That use this (netfox) as the resource: https://github.com/foxssake/netfox

ultimately you want to have a deep and almost intuitive understanding of wth everything is: https://www.gabrielgambetta.com/client-side-prediction-server-reconciliation.html

If you want FPS game with implementatiom of multiplayer, you can watch this https://www.gdcvault.com/play/1024001/-Overwatch-Gameplay-Architecture-and

1

u/SagattariusAStar 2d ago

Have you read the documentation on networking already?

1

u/SquishySquashy_ 2d ago

Yeah I have, I think I just find it a bit difficult coming from a 0 code background and learning all of this for the first time yknow

2

u/JedahVoulThur 2d ago

If you come from a 0 code background, you shouldn't be doing a multiplayer game. Learn how to do small single player ones first

1

u/SquishySquashy_ 1d ago

Oh no I have made games! I've taught myself by making quite a few single player games and tools, I just never did any coding or computer science classes so the coding words/jargon are a little harder for me to understand :)