Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Joe0239 | |
Old Version | Published before Godot 3 was released. |
Is it possible to use C++ instead of Python when coding?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Joe0239 | |
Old Version | Published before Godot 3 was released. |
Is it possible to use C++ instead of Python when coding?
Reply From: | Gokudomatic2 |
Yes, but you have to recompile the project every time. GDScript (which is not Python) is not obligatory.
How, please?
Not_a_Robot | 2016-07-14 13:05
Compiling Godot:
http://docs.godotengine.org/en/latest/reference/_compiling.html
Developing with C++:
http://docs.godotengine.org/en/latest/reference/_developing.html
Vladislav Vorobiev | 2016-07-14 16:19
From what I see… Is not possible to use C++ with the easiness GDSCript has in the editor?
Thank you!
Not_a_Robot | 2016-07-15 14:13
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.
Gokudomatic2 | 2016-07-15 14:24