The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

+1 vote

Is it possible to use C++ instead of Python when coding?

in Engine by (194 points)
recategorized by

1 Answer

0 votes

Yes, but you have to recompile the project every time. GDScript (which is not Python) is not obligatory.

by (703 points)

How, please?

From what I see.. Is not possible to use C++ with the easiness GDSCript has in the editor?

Thank you!

Sorry but I fail to see the point in that. The strong points of C++ are its compiled language and strong typing, which are not adequate for scripting. On the other half, GDScript is based on python because Python is a matured scripting language, with all the sugar syntax that are not in C. If you want to write in any case your game in C++, why bother with a slow scripting engine? Write directly the native components, you'll get the benefit of execution speed.

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 Frequently asked questions and 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 [email protected] with your username.