Where can I find GDExtensions Development Tutorial?

Godot Version

4.2.2.stable

Question

I have successfully compiled the example program according to the official documentation, but there is no further development Document provided in the documentation. Where can I find more tutorials?

You can look at adjacent modules. Or Why not try to integrate some library?

I’m sure you have seen this?

Sure. While most of the problems can be solved by reading the code, there are a few that confuse me.

  1. How to provide an interface to GDscript?
  2. What else can be declared in the register_type file?
  3. What is the role of GDCLASS? Is there anything else like it?
    I think I should refer to more tutorials to solve my doubts.

Here is some code related to the registration.

Here is an example in code from the multiplayer module nodes using the bind API and Marcos for functions and properties.

This is the core of classes registered with godot. It is a Singleton used by, at least, the gdscript parser and editor, and provides class lookup.

I’m not sure what you are asking.

Here is a tutorial

Since you have compiled the example I would advise adding a c++ intelli-sense plugin to quickly search the code. Reading code is a great skill to have.

2 Likes

I’ve been watching some nice tutorials of GDExtension, such as the implementation of variant type, and Sconstruct usage. Mohsen Zare provides a series of GDExtension, which is pretty rare, I’ve been looking for this for a long time.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.