+1 vote

I dont know how i can use c++ to write script using godot. Godot say it can use c++, but i dont know how. And also there's no tutorial i found about how to write using c++ with godot

in Engine by (13 points)

2 Answers

0 votes

There is two ways to do that.

Cpp module tutorial on Godot 2.1 and Godot 3.0:

http://docs.godotengine.org/en/latest/development/cpp/custom_modules_in_cpp.html

Check Godot build system doc before:
http://docs.godotengine.org/en/latest/development/compiling/index.html

And the second way is the "NativeScripts" (thanks to the GDNative module) on Godot 3.0 only.

https://github.com/GodotNativeTools/cpp_bindings

by (515 points)
0 votes

In the future I try to make the Godot Documentation more accessible for beginners! ;D

In your case maybe my Godot C++ Playlist can help you out.
In this Steamguide you can find everything you need to know about the possibilitys.

https://steamcommunity.com/sharedfiles/filedetails/?id=1972769090
enter image description here

hope I can help someone with that ;D

by (124 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.