godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Difficulty Reading/Implementing "GDNative C Example" Code

Open StevenStevenStevenS opened this issue 3 years ago • 1 comments

Hello Godot Community,

I have been through the GDNative C Example tutorial, but have difficulty applying the knowledge gained through it to my own C/Godot project. I wouldn't complain, except that this has prevented me from working in C before. I'm relatively new to C, but would like to learn more through my code.

I didn't know exactly how to solve this. If there were a pseudo-code version of the GDNative C and C++ Examples, maybe? Something along the same lines would really improve readability.

Thank you, humble junior dev Steven

StevenStevenStevenS avatar Sep 06 '22 15:09 StevenStevenStevenS

If there were a pseudo-code version of the GDNative C and C++ Examples, maybe?

How would a pseudocode version make the GDNative tutorial easier to follow?

I think the GDNative C example page is designed for people who already have intermediate-level knowledge of C, and that's fine. It's not meant to be a C language tutorial, as third-party resources will provide a better guide for that. We can't teach everything there is to know in computer science in the Godot docs :slightly_smiling_face:

Calinou avatar Sep 06 '22 16:09 Calinou