Created a 3D C++ multiplayer game tutorial (for Godot 4.6 with GDExtension)

This tutorial, available at GitHub - kburchfiel/godot_cpp_3d_tutorial · GitHub (and released under the MIT license), demonstrates how to create a 3D multiplayer 3rd-person-shooter game in Godot using C++. It has a number of benefits for newcomers to Godot and GDExtension:

  • It explains code and editor tasks step-by-step, thus making it easier to learn how to put a game together.

  • It also provides references for various code and editor tasks, thus (hopefully) demystifying the process of finding relevant C++ code for your own projects.

  • It notes potential pitfalls you might encounter along the way, along with tips for resolving them.

I had lots of fun putting this tutorial together, and I hope it can help other newcomers to GDExtension learn how to code games in C++.

Note: Both the code and the documentation were created without the use of generative-AI tools.

Here’s a gameplay screenshot of the finished project:

4 Likes

Very comprehensive-looking tutorial in the Readme. Added it to my TBR list of tabs. I’ve not yet played with GDExtension, and this might be the excuse I need.

Thank you! I hope it proves helpful. And do let me know if any issues come up along the way.

2 multiplayer posts in one day! Oh boy! I definitely don’t want to shoot myself in the face right now.

Edit:

I no longer want to shoot myself in the face, as I got Monkanics’ relay server working.

2 Likes