This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I know C++,Java and Python.But my real problem-solving ability lies in C++. It is not that I can't learn Gdscript but i am highly (really highly) comfortable with C++.
Can i Program everything (from programming game to extending the engine to everything possible) in godot in C++ (any sideffects associated with it)
you can even add more facts in answer !!!

in Engine by (25 points)

3 Answers

+4 votes

Theoretically this should be possible. I recommend to have a look at the basics of GDScript. At the moment I also get to know the engine. I also know C++ and Phyton. And I prefer C++ too. But simple things can be done in Godot much faster with GDScript. GDScript resembles Phyton anyway, you won't have a hard time learning it.

Some facts:
- compile time is very long with C++ (testing your module needs much more time, than hit F5 key with GDScript)
- with GDScript you have a much easyer posibility to get access on different objects.
- You can create reusable nodes by copy and paste the script (and instancing it).
- if you want high performance e.g. for terrain generation you can write a prototyp in gdscript, to check your algorithm and after that write your module in c++...
- try the shader language, its very close to C and can do very interessting things^^

The Question is not: c++ vs gdscript. In my opinion you should use both, if you can combine advantages of both :)

by (79 points)

Open source projects like Godot is just standing because of programmers like you.

By the way how much time will it take me to learn gdscript,knowing that i am well versed in python.
Also tell me the best way to learn gdscript (Books will be the best option)

since you can python, it'll only take a few minutes. What takes a little longer is to get to know the API. (knowledge of game dev terms helpful too)

I have simply taken this link to the hand

and started building small projects. Take a look at tutorials on Youtube and browse through the documentation

Familiarize yourself with the surroundings. If you have an overview, you can also start with modules in c++.

in few days your a ready for your fist little project, if you wish^^

good luck and happy coding :D

+2 votes

For me it is a really good way to write my daily gameplaycode with simple python-styled GDScript. And when i have some more complex stuff or need some performance optimizations, then you can perfectly use the c++ solutions of Godot to hide everything behind the engine or a shared library.

I have here a short Steam Guide where the most important stuff is collected :)

"> image description here

by (130 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 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.