Hello.
I want to use mostly C++ to code my games, along with GDScript.
I've been reading through the documentation, especially "Developing in C++" and I still don't know where to start. I found creating custom modules too complicated, so I said I'd go with GDNative, as it may be easier. So learning the GDScript stuff in the documentation, maybe there's a way then to directly relate C++ code to GDScript code?
What's the approach? Converting the scripts line by line syntactically as in replacing "extends Panel" with "class P : public Panel"?
Or maybe the approaches are totally different for C++ than for GDScript? I mean extra code for C++ that GDScript would automatically handle in backstage. Where can I learn about it?
Ideally I'd code all the scripts in GDScript and subsequently optimizing by converting some of them to C++. But this is what I don't know how to do.
Can anyone help?